Skip to content

big ecmp updates#143

Merged
AleksArt000 merged 3 commits intoSoviet-Linux:mainfrom
tbeckerson:main
Oct 4, 2024
Merged

big ecmp updates#143
AleksArt000 merged 3 commits intoSoviet-Linux:mainfrom
tbeckerson:main

Conversation

@tbeckerson
Copy link
Copy Markdown
Contributor

This is everything I used to create the latest build. General summary of the changes:

  • removed MAKE_FLAGS in favour of using the MAKEFLAGS and NINJAJOBS variable in /etc/cccp.conf, which can be understood by gcc/ninja without extra libspm code.
  • added a bunch of packages that were needed for various purposes (for example: needed squashfs-tools and gptfdisk to make the installation.img, and dosfstools to actually create a vfat UEFI partition during install).
  • fixed up a lot of ecmp files that either failed, or put files in the wrong spots (we need to be careful about using $SOVIET_BUILD_DIR instead of assuming everything will be installed to the host directories).
  • fixed a lot of $BUILD_ROOT/$BUILD_DIR variables (using $SOVIET_ROOT, $SOVIET_BUILD_DIR, etc).
  • specifically switched to the linux-zen kernel, instead of just stealing the config file from Arch.

Notes that might be important later:

  • gcc: this build runs strip on the /usr/libexec/gcc/* binaries, which is a massive size reduction (about 900mb). Should not cause problems.
  • glibc: defaults to building support for all the locales. This is important for the installation.img for regional support during install. Depending on if we want to use immutability or have milestone updates, this doesn't need to be changed, but if we do rolling it might be a good idea to have a check for the user's system locale, and give the option to build only that (or have them specify what they want).
  • linux-zen: It defaults to a very big config file (liberated from the Arch config), where almost everything is turned on, and takes a long time to compile (6 cores, 3.6ghz, 16gb ram, takes about 1hr). I added a check for a LINUX_CONFIG variable in /etc/cccp.conf, if you want to use a customized config file.

Copy link
Copy Markdown
Contributor

@AleksArt000 AleksArt000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing the extra folder might cause a lot of annoying conflicts

@AleksArt000 AleksArt000 merged commit 6c265a6 into Soviet-Linux:main Oct 4, 2024
@AleksArt000
Copy link
Copy Markdown
Contributor

actually it doesn't nvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants