|
@ -2,7 +2,6 @@ |
|
|
|
|
|
|
|
|
git clone --depth=1 --recursive https://github.com/fosslinux/live-bootstrap |
|
|
git clone --depth=1 --recursive https://github.com/fosslinux/live-bootstrap |
|
|
cd live-bootstrap |
|
|
cd live-bootstrap |
|
|
./download-distfiles.sh |
|
|
|
|
|
./rootfs.py -c --external-sources --cores $(nproc) |
|
|
./rootfs.py -c --external-sources --cores $(nproc) |
|
|
umount target/dev/shm # double mounted? |
|
|
umount target/dev/shm # double mounted? |
|
|
umount target/dev/shm target/sys target/proc target/tmp |
|
|
umount target/dev/shm target/sys target/proc target/tmp |
|
@ -27,7 +26,7 @@ curl -LO https://github.com/ninja-build/ninja/archive/v1.11.1/ninja-1.11.1.tar.g |
|
|
curl -LO https://github.com/mesonbuild/meson/releases/download/1.4.1/meson-1.4.1.tar.gz |
|
|
curl -LO https://github.com/mesonbuild/meson/releases/download/1.4.1/meson-1.4.1.tar.gz |
|
|
curl -LO http://gitweb.gentoo.org/proj/portage.git/snapshot/portage-3.0.65.tar.bz2 |
|
|
curl -LO http://gitweb.gentoo.org/proj/portage.git/snapshot/portage-3.0.65.tar.bz2 |
|
|
curl -LO https://github.com/plougher/squashfs-tools/archive/refs/tags/4.6.1/squashfs-tools-4.6.1.tar.gz |
|
|
curl -LO https://github.com/plougher/squashfs-tools/archive/refs/tags/4.6.1/squashfs-tools-4.6.1.tar.gz |
|
|
curl -LO http://distfiles.gentoo.org/snapshots/squashfs/gentoo-20240729.xz.sqfs |
|
|
curl -LO http://distfiles.gentoo.org/snapshots/squashfs/gentoo-20240801.xz.sqfs |
|
|
|
|
|
|
|
|
cat > portage.patch << 'EOF' |
|
|
cat > portage.patch << 'EOF' |
|
|
+++ b/lib/portage/util/compression_probe.py |
|
|
+++ b/lib/portage/util/compression_probe.py |
|
@ -86,7 +85,7 @@ make -C squashfs-tools install \ |
|
|
cd .. |
|
|
cd .. |
|
|
rm -rf squashfs-tools-4.6.1 |
|
|
rm -rf squashfs-tools-4.6.1 |
|
|
|
|
|
|
|
|
unsquashfs gentoo-20240729.xz.sqfs |
|
|
unsquashfs gentoo-20240801.xz.sqfs |
|
|
mkdir -p /var/db/repos |
|
|
mkdir -p /var/db/repos |
|
|
rm -rf /var/db/repos/gentoo |
|
|
rm -rf /var/db/repos/gentoo |
|
|
mv squashfs-root /var/db/repos/gentoo |
|
|
mv squashfs-root /var/db/repos/gentoo |
|
|