everest.sh builds Everest's signed packages in an Alpine container, publishes the base, extra and extra-src repositories, installs the system with glacier-bootstrap into an initramfs and boots it in QEMU. The image carries glacier, a toolchain and the repositories, and builds packages from source inside the VM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
831 B
Python
24 lines
831 B
Python
# Toolchain packages are built for /usr, not PREFIX: they are build
|
|
# layers, which always sit at /usr (BUILD_DESIGN.txt section 13), and
|
|
# on the running system gcc finds its parts relative to itself.
|
|
# ld also searches /glacier/sys/links/lib, where extra's libraries are.
|
|
T=x86_64-everest-linux-musl
|
|
|
|
configure() {
|
|
mkdir -p build && cd build
|
|
../configure --prefix=/usr --build=$T --host=$T --target=$T \
|
|
--disable-nls --disable-werror --disable-multilib \
|
|
--enable-deterministic-archives --enable-ld=default \
|
|
--enable-plugins --enable-64-bit-bfd --disable-gprofng \
|
|
--disable-gdb --disable-gdbserver --disable-sim \
|
|
--with-system-zlib --without-zstd \
|
|
--with-lib-path=/usr/lib:/glacier/sys/links/lib
|
|
}
|
|
|
|
compile() { make; }
|
|
|
|
package() {
|
|
make DESTDIR="$DESTDIR" install-strip
|
|
rm -f "$DESTDIR/usr/share/info/dir"
|
|
}
|