Commit Graph

188 Commits

Author SHA1 Message Date
Satadru Pramanik, DO, MPH, MEng
4d2a899ddd move env.d LD_LIBRARY_PATH setting to before crew runs (#8385) 2023-06-13 21:44:57 -05:00
Satadru Pramanik, DO, MPH, MEng
4d1647596a add missing semicolon (#8383) 2023-06-13 19:44:56 -05:00
Satadru Pramanik, DO, MPH, MEng
0659c3ab7f adjust detection of aarch64 in install.sh, add LD_LIBRARY_PREFIX to CREW_ENV_OPTIONS (#8380)
* adjust detection of aarch64 in install.sh, add LD_LIBRARY_PREFIX to CREW_ENV_OPTIONS

* adjust mandb postinstall

* suggested changes
2023-06-13 18:56:34 -05:00
Satadru Pramanik, DO, MPH, MEng
618f078008 Add armv7l install on aarch64 userspace systems (#8362)
* modify glibc

* initial working armv7l install on top of aarch64

* have install.sh use glibc_lib

* add zlibpkg and gmp to BOOTSTRAP_PACKAGES

* add chromebrew postinstall

* cleanup git postinstall, fixup install.sh

* add newline to echo cmd in install.sh

* Rework pre-Glibc 2.35 versions.

* add back i686 to install.sh, and enable install on non glibc-2.35 systems

* suggested changes

* change default repo and owner back in install.sh

* fix postinstall in install.sh

* add shellcheck exclusion

* move aarch64 armv7l userspace end of install message

* lint

* remove old install.sh.deprecated

* add glibc 2.27 filelists

* cleanup libc_version case in install.sh

* suggested changes

* suggested changes to install.sh

* suggested changes

* always write our shell rc files

* fixup crew_profile_base

* suggested changes

* gimp needs gcc_dev for libgomp

* revert to old i686 arch detection

* remove patchelf from core

* speed up mandb cache build

* speed up mandb cache build

* time not available on all systems
2023-06-13 13:31:09 -05:00
Satadru Pramanik, DO, MPH, MEng
ccc88e44ba Repackaging gcc -> gcc_lib and gcc_dev (#8335)
* gcc -> libs and dev

* update deps

* adjust deps in install.sh

* update gcc dep in core

* cleanup

* add gcc_build

* update gcc deps in llvm packages

* adjust conflicts command to exclude _build package filelists

* remove conflicts_ok from compiler packages
2023-06-06 10:21:11 -05:00
Satadru Pramanik, DO, MPH, MEng
570cc4b850 Update logic to handle aarch64 userspace install attempts (#8100)
* Update logic to handle aarch64 userspace install attempts

* fix lint issue
2023-03-22 10:33:46 -05:00
supechicken
52d645b676 crew: Use rename() syscall to install files from destdir for faster speed (#7751)
* crew: Move files instead of copying+deleting

* adjust logic

* Adjust build command

* Disable upx

* Update comment

* mvdir: use PATH_MAX

* Update comment

* Switch to chromebrew repo

* Add `crew_mvdir` to core

* Remove mvdir.c

* Update package file

* Fix filename

* Re-add `mkdir`

* Add binaries

* Make rubocop happy

* Suggested changes

* change crew-mvdir description

* fewer fasters

* add crew-mvdir to packages.yaml

* bump version

* suggested changes

---------

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2023-03-02 22:15:33 -06:00
supechicken
20a6a1a7e2 [install.sh]: Fix SSL warning in curl (#8005)
* Fix SSL warning (curl), retry when SSL error occurred (downloader)

* Update install.sh

* Make rubocop happy

* Remove `--tlsv1.3` flag as i686 might not support it

* Add `--tlsv1` flag to `curl`

* Update downloader.rb

* Force `tlsv1.2` instead for better security
2023-02-27 16:15:39 -05:00
Ed Reel
a3c91111ba Fix broken bootstrap files download (#7964) 2023-02-19 16:42:21 -05:00
Ed Reel
edc305b9cc Fix editor and pager config file names in install.sh (#7962)
Applied Rubocop suggestions
2023-02-19 15:00:07 -05:00
Satadru Pramanik
6aa3ea0273 Add to buildessential, add concurrent-ruby (#7505)
* Add to buildessential, add concurrent-ruby

* don't error out on timestamp during tar extract

* bump buildessential version

* update packages.yaml
2022-10-16 17:25:57 -05:00
Satadru Pramanik
83b3c92741 crew install: more workarounds to avoid git if necessary (#7459)
* crew install: more workarounds to avoid git if necessary

* make error message more verbose.

* suggested changes
2022-10-05 14:14:45 -05:00
Satadru Pramanik
cf97ef9db4 Git w/o musl, install.sh modified to work w/o git in bootstrap. (#7436)
* git -> 2.37.2, w/o musl

* add non-musl packages to bootstrap

* remove musl from install.sh

* move libcurl to end of bootstrap packages

* move around bootstrap packages

* modify LD_LIB_PREFIX line

* add glibc to boostrap_packages

* suggested changes

* git rebuild with mold 1.5.1

* make backup lib search path match what is in ld.so.conf

* add older LD_LIBRARY_PATH to new LD_LIBRARY_PATH

* cleanup LD_LIBRARY_PATH addition

* remove LD_LIBRARY_PATH from zstd & pixz section of installer

* Add git dep to crew profile base in case so git installs first if needed

* ncurses dep needed for libxml2 so that xmlcatalog works during installs

* add some missing deps to core packages

* add another dep to git

* update installer and update git dep

* suggested changes

* remove old workaround

* git -> 2.38.0
2022-10-04 19:35:26 -05:00
Satadru Pramanik
01b9cdf0a8 install.sh: Remove install.sh from sparse checkout (#7185)
Fixes #7181
2022-07-08 20:20:03 -05:00
supechicken
0e532bef6d Update homepage URL in packages from skycocker/chromebrew to chromebrew/chromebrew (#7146)
* Change homepage URL from skycocker/chromebrew to chromebrew/chromebrew

* Use https

* Bump version
2022-06-15 12:49:40 -05:00
supechicken
cb7eb4993b Merge gcc12.rb and gcc.rb, cleanup, remove any gcc packages older than 12 (#7076)
* Delete older `gcc` versions

* Delete older `gcc` versions, merge `gcc12.rb` and `gcc.rb`

* Fix syntax error

* Switch from `gcc12.rb` to `gcc.rb`

* remove gcc_tools

* Fix `exception` logic in `def self.system` (`package.rb`)

* Update gcc.rb

* Correct usage of `File.write`

* Update gcc.rb

* Update gcc.rb

* `previous` might be better than `older`
2022-05-22 12:30:01 -05:00
Satadru Pramanik
d5ca8f3699 openssl rebuilds, add gcc12 to install.sh (#7048)
* openssl rebuilds, add gcc12 to install.sh

* add armv7l to popt gcc deps
2022-05-10 18:42:25 -05:00
Cassandra Watergate
89c0de70e5 Merge pull request #6695 from uberhacker/improve-ascii-art
Improve Chromebrew ascii art
2022-02-10 19:35:32 -08:00
Satadru Pramanik
be75777470 crew: Add more robustness against zstd breakage (#6709)
* crew: Add more robustness against zstd breakage

* use zstd path logic in archive_package
2022-02-05 13:48:03 -06:00
Satadru Pramanik
8af44975a2 add more zstd & rsync fallback logic (#6706)
* add more zstd & rsync fallback logic

* remove indentation, add install.sh fixes.
2022-02-04 09:28:06 -06:00
Ed Reel
89e5ef78bc Improve Chromebrew ascii art
fix a typo
2022-02-03 21:12:11 -06:00
Satadru Pramanik
3daee683b3 crew: use zstd (#6703)
* Initial .zst support

* initial zstd changes

* reverse tar version condition

* Change extension to .tar.zst

* Add verbosity, use nice for zstd

* add tar to core

* Add tar to buildessential

* Add tar to bootstrap packages

* Add musl tar with zstd support

* add error for old tar on system

* Add zst support to gl.sh, add update of rust in zst package format

* Add check for zstd before decompressing .zst files

* change new tar dependency to i686 only

* add more musl fixes

* add musl paths to tar cmd

* Add musl_zstd update with libc

* add musl path to install path

* add zst to strip_dir

* Add spaces to gl.sh

* remove extraneous no_zstd
2022-02-03 19:03:52 -06:00
Cassandra Watergate
7ecd317918 Refactor colorizing in install.sh (#6691)
* colorize functions

* add pretty chromebrew banner

* fix issues

* move ASCII art

* echoerr => echo_error, etc.

* fix cursive ASCII h for readability
2022-01-31 16:34:16 -06:00
Satadru Pramanik
12488f404e Add zstd to install.sh BOOTSTRAP_PACKAGES and rsync deps (#6654) 2022-01-25 12:48:41 -06:00
supechicken
8132c60dbc install.sh: Add rsync as a core package (#6621)
* Update crew

* Update crew

* Bump version

* Update crew

* Update crew

* Update crew

* Update crew

* Update crew

* Update install.sh

* Update install.sh

* Update install.sh

* Update crew

* Update install.sh

* Update crew

* Update install.sh

* Update crew
2022-01-21 11:20:28 -05:00
Satadru Pramanik
fc148c293c install.sh: fix openssl dependency of ruby (#6568) 2022-01-06 21:49:10 -06:00
supechicken
9fec3a7828 install.sh: Improve stability of curl, disallow crostini/beta/canary channel (#6519)
* Update install.sh
2021-12-30 09:42:58 -06:00
satmandu
fa44e15de8 Fix alternate repo/branches in install (#5995) 2021-07-27 12:55:34 -05:00
satmandu
5d106e0ab7 Container build tweaks (#5993) 2021-07-27 11:11:30 -05:00
Ed Reel
9254f3d2ac Remove curl and devtools prompt in install.sh (#5874)
Remove curl from core.rb
2021-06-15 09:40:04 -04:00
satmandu
cf6e7f3a15 Add Core as a metapackage (#5867)
* Add Core as a metapackage

* requested changes

* remove packages from core
2021-06-12 00:31:07 -05:00
satmandu
3cfa8f260d Install.sh cleanup & simplification, using jq (#5859)
* Install.sh cleanup

* more tested cleanup.

* Add more color, use more jq.

* adjust cache logic

* replace CREW_LIB_PATH on new installs
2021-06-11 10:03:30 -05:00
satmandu
13b74e1546 install.sh: Put pixz, git, curl at the front of EARLY_PACKAGES (#5848)
* Now pixz is packaged in sparkling .xz

* Add back deps

* remove libcurl dep from curl

* move static packages up in install.sh
2021-06-08 22:00:26 -05:00
satmandu
97d49957d3 minor tweak (#5761) 2021-05-11 18:40:33 -05:00
satmandu
2b10b9843a perl -> 5.32.1, gcc -> 11.1, llvm -> 12.0.0, add pixz to core (#5665)
* perl -> 5.32.1

* fix url

* perl rebuild with lto, adjustment of conflicts

* texinfo rebuild

* working version on all architectures

* simply logic

* Cleanup, backport of gcc11 package changes

* more cleanup

* restore some depends

* Use specific revision for mpfr patchset

* Update links to release links

* Replace gcc10 with libssp in install.sh

* Change links to gcc10.3.0 release links

* install not a dependency libssp when installing gcc10 to avoid breaking any libssp dependent packages.

* Adjust gcc10 postinstall logic

* preinstall and postinstall changes for gcc 10.3.0

* Add gcc uninstall message

* Add ruby require for gcc10 package file

* libssp => gcc11.1

* Initial add of gcc 11.1

* change buildessential to use gcc11 instead of gcc10

* x86_64 workaround still needed

* Still need PATH_MAX patching

* add libssp 11.1.0 binaries

* add gcc11 binaries

* convert gcc10 to an is_fake package requiring libssp

* Update gcc_tools with new libssp & gcc11

* revert gcc_tools update

* update to gitlab links

* switch to gitlab links

* use gitlab links

* use gitlab links

* move to gitlab, add more symlinks

* change to gitlab

* switch to gitlab take 2

* use nproc

* New binary packages

* use gnumirror

* Add llvm 12.0.0

* remove lld dep

* finish merge

* switch to gcc11 as primary

* update stow

* fix stow

* replace lzma with current xz-utils

* add po4a build dep to xzutils

* file conflict fix

* initial perl 5.32.1 fixes

* add stow

* deal with conflict

* deal with conflict take 2

* work crew modifications

* have crew delete conflict files from crew module builds

* move delete packfile function to crew

* remove need for po4a

* Add xzutils, pixz

* is_fake doesn't need source_url

* add pixz tpxz format support to crew

* add more perl 5.32.1 binaries

* modify pixz settings

* pixz changes

* tpxz fixes

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* fix gcc10 gcc11 packages

* Add xzutils to pixz deps

* Add pixz if not installed.

* change pixz logic

* pixz changes

* xzutils is a runtime dep for pixz

* grammar fix

* Keep crew from crashing on reading malformed package files

* clean up

* don't show duplicate error for syntax error

* don't show duplicate error for syntax error

* Fix comparison

* Use  safe navigation operator.

* Use same fix for list compatible

* refactor compatibility

* bump

* add binary_url to package.rb

* cleanup empty space

* minimal rubocop suggested cleanup

* requested changes

* revert code changes which don't work in ruby

* simplify list compatible

* requested changes...

* hide message behind debug flag.

* libdrm -> 2.4.105

* add mesa 21.1.0

* make full gcc11 package

* replace stow with perl_stow and update gcc10 to full package

* gcc11 hash update

* Add pixz to core

* remove libgcc_s1

* libgcc_s1 -> dummy package

* cleanup perl package files

* requested changes

* remove libgcc_s1.rb

* gcc changes

* rubocop changes

* modify crew to use PIXZ by default

* enable pixz in install.sh

* move postinstall to install

* bump gcc versions

* fix gcc10 url

* make gcc_version logic changes

* Add new gcc10 binaries

* add new gcc11 and libssp armv7l binaries, bump const.rb version

* modify already installed logic

* install.sh and crew bump

* back out core_packages.txt install changes
2021-05-11 17:33:20 -05:00
Ed Reel
bd5278c747 Add missing flex dependency to binutils (#5754)
Add binutils, flex and py3_pip to core packages

Remove crew_profile_base and binutils from buildessential
2021-05-08 12:34:55 -04:00
Ed Reel
6e03d849ef Install gcc10 dependencies in buildessential (#5618)
Add libyaml to EARLY_PACKAGES in install.sh

Add libyaml to buildessential
2021-04-14 21:03:47 -04:00
Cassandra Watergate
3a2bdf9df7 Move crew (#5613)
* move crew and update symlinks

* install.sh: fix #5612

* lib/const.rb: bump version
2021-04-13 19:35:17 -05:00
Cassandra Watergate
6620980c62 Fix #5612 (#5614)
* install.sh: fix #5612

* install.sh: specify binary path
2021-04-13 15:50:59 -05:00
Ed Reel
b362c08d4c Revert crew executable location but keep all other changes (#5604) 2021-04-12 13:08:57 -04:00
Cassandra Watergate
816d461539 Add crew_profile_base to LATE_PACKAGES (#5601)
* move crew and update relevant files

* install.sh: add crew_profile_base to LATE_PACKAGES

* install.sh: change > 2> to &>

* changes as requested
2021-04-12 08:54:05 -05:00
Ed Reel
9f8f58aa51 Remove core packages that are build dependencies (#5525)
* Remove core packages that are build dependencies

Combine echo and read into one command prompt

* Move compiler checks to right before source download

* Remove prompts to install buildessential

* Bump crew version

* Make sure all buildessential packages are installed

* Remove stray text file

Co-authored-by: satmandu <satadru@umich.edu>
2021-04-11 23:33:24 -04:00
Cassandra Watergate
d6e779ccd3 Crew profile base (#5503)
* Make basic crew-profile-base package

* Use crew consts

* Upgrade to 0.0.2-pre2

* Convert aa* to cf*

* Docbook

* aa* to dz*

* docbook-xsl

* through fz* and fix environment variables

* through mz*

* through pz*

* through zz*

* fix crew-profile-base

* upgrade crew-profile-base

* major crew-profile-base changes

* Upgrade crew-profile-base and fix xdg-base

* fix sha256sum

* Remove stale files

* pkgsrc and sommelier

* Add crew-profile-base to core packages and ready for merging

* Bump versions

* prevent conflicts with #5494

* fix sha256sum

* fix fop

* profile.d is not ours

* fix bash

* Upgrade crew-profile-base to 0.0.1-pre6 and fix bash

* Remove self-referencing comment

* Add binaries, fix rust, fix #{@ver}

* move compatibility line

* add core mandb deps back

* File.exists? => File.exist?

* deduplicate @env

* update packages

* Fix gdk_pixbug source url

* Add binaries, use rubocop style fixes

* Update cf from 6.36.1-1 to 6.53.0

* fix sl

* fix depot tools

* remove apulse since it conflicts with pulseaudio.

* refactor crew_profile_base

* first tranche of builds

* go

* add cf

* hunspell

* transmission

* clean up dependency & env situation for gdk_pixbuf

* fix gettext

* fix nano

* fix intel-media-driver

* add zziplib for texlive

* fix texlive

* split fuse for flatpak

* fix flatpak

* delete rack (broken and unmaintained)

* fix packer completion

* modify and fix sl

* fix s

* fix stressng

* fix stack

* Add TMPDIR

* Remove TMPDIR from build files

* Fix aws2 version

* Go: remove extraneous dependency

* hunspell_fr_fr: use french in description

* intel media driver: remove case x86_64

* aws2: quickfix

* everything but texlive

* texlive

* fix stressng

* Delete pkgsrc.rb

* add back pkgsrc

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: satmandu <satadru@umich.edu>
2021-04-08 21:49:18 -05:00
Ed Reel
8cd48c6b7b Add missing groff dependency to mandb (#5422)
- Add missing lz4 package to EARLY_PACKAGES

- Update core_packages.txt
2021-03-15 07:35:28 -04:00
satmandu
a10b398e84 Allow modifying default variables, and allow modifying curl (#5325) 2021-03-04 10:15:51 -06:00
satmandu
0a198d8066 Add more early packages (#5131) 2021-02-13 08:05:54 -06:00
satmandu
f9f509b7e9 Add krb5 to EARLY_PACKAGES (#5130)
* Add krb5 to EARLY_PACKAGES

* krb5 to 1.19,  with localstatedir set
2021-02-13 00:44:09 -06:00
satmandu
b23e7dac28 Automatically pull urls/hashes for install.sh from github package files (#5127)
* test new logic

* change for loop logic

* use the URL variable we have!

* Add postinstall

* Update install.sh

* Don't chown symlinks

* debug environment variables

* remove postinstall stuff

* add armv7l xz logic

* simplification suggestion as per @uberhacker

* partially revert simplification, but add removable of double quotes

* bump version
2021-02-12 13:38:25 -06:00
Ed Reel
e3fa79aab9 Remove redundant lines in install.sh for i686 (#5125) 2021-02-12 11:49:50 -05:00
satmandu
966d51ae1b install.sh: don't fail on chown of missing folders in /usr/local (#5122)
* don't let chown exit on fail

* Updating dependency urls

* include ncurses

* add ncurses

* Cleaner way to deal with missing folder

* don't chown symlinks
2021-02-12 08:35:29 -05:00