Initial import: build and boot Everest Linux in QEMU
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>
This commit is contained in:
commit
f687558b66
43 files changed
+2058
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# 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"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
NAME = "binutils";
|
||||
VER = "2.47.0";
|
||||
REPO = "extra";
|
||||
DESC = "Assembler, linker and binary tools";
|
||||
MAINT = "liamwaldron@everestlinux.org";
|
||||
COPYRIGHT = "GPL-3.0-or-later";
|
||||
SOURCES = (
|
||||
{ URL = "https://ftp.gnu.org/gnu/binutils/binutils-2.47.tar.xz";
|
||||
SHA256 = "sha256:154ab23b60070e8f27013c22977f1129425d67d1e8acd6e13010e617811e4cff"; }
|
||||
);
|
||||
BUILD = "hooks";
|
||||
DEPS = ( { NAME = "musl"; VER = "1.2.5"; }, { NAME = "zlib"; VER = "1.3.2"; } );
|
||||
Reference in new issue
Block a user