summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2021-02-26 11:50:44 -0600
committerKyle K <kylek389@gmail.com>2021-02-26 11:50:44 -0600
commitd0afbb2c496eed6c53a46229391c0e3590d1fad9 (patch)
tree22b9a3ee82ed1e3530c9f3e7d2c8772cacd65a0b
parentab5004b0112768a928641cf363a745896675a01e (diff)
downloadgentoox-d0afbb2c496eed6c53a46229391c0e3590d1fad9.tar.gz
gentoox-d0afbb2c496eed6c53a46229391c0e3590d1fad9.tar.bz2
gentoox-d0afbb2c496eed6c53a46229391c0e3590d1fad9.zip
wip
-rwxr-xr-xgentoox_build.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/gentoox_build.sh b/gentoox_build.sh
index 7619ddb..19343b1 100755
--- a/gentoox_build.sh
+++ b/gentoox_build.sh
@@ -258,7 +258,7 @@ if [[ ! -f '/tmp/gentoox-kernelpatches-applied' ]]; then
patch -p0 < ../$KERNEL_CONFIG_DIFF
# Aufs
- git clone --single-branch --branch aufs5.x-rcN https://github.com/sfjro/aufs5-standalone.git ../
+ git clone --single-branch --branch aufs5.x-rcN https://github.com/sfjro/aufs5-standalone.git
cp -r aufs5-standalone/fs/aufs/ fs/
cp aufs5-standalone/include/uapi/linux/aufs_type.h include/uapi/linux/
patch -p1 < aufs5-standalone/aufs5-kbuild.patch
@@ -291,6 +291,9 @@ if [[ ! -f '/tmp/gentoox-kernelpatches-applied' ]]; then
patch -p1 < 0001-zswap-patches.patch
sed -i 's/CONFIG_DEFAULT_HOSTNAME="archlinux"/CONFIG_DEFAULT_HOSTNAME="gentoox"/' .config
sed -i 's/CONFIG_LOCALVERSION=""/CONFIG_LOCALVERSION="-x86_64"/' .config
+ sed -i 's/CONFIG_SQUASHFS=m/CONFIG_SQUASHFS=y/' .config
+ sed -i 's/CONFIG_BLK_DEV_LOOP=m/CONFIG_BLK_DEV_LOOP=y/' .config
+ sed -i 's/CONFIG_BLK_DEV_CRYPTOLOOP=m/CONFIG_BLK_DEV_CRYPTOLOOP=y/' .config
sed -i 's/CONFIG_NET_IP_TUNNEL=y/CONFIG_NET_IP_TUNNEL=m/' .config
sed -i 's/CONFIG_NET_UDP_TUNNEL=y/CONFIG_NET_UDP_TUNNEL=m/' .config
sed -i 's/EXTRAVERSION = -gentoo-r1/EXTRAVERSION = -gentoo/' Makefile
@@ -665,8 +668,8 @@ mv image.squashfs iso/image.squashfs
tar -xOf kernel-gentoox.tar.zst --wildcards \*vmlinuz-\* > iso/boot/gentoo
tar -xOf kernel-gentoox.tar.zst --wildcards \*initramfs-\* | unzstd -d | gzip > iso/boot/gentoo.igz
tar -xOf kernel-gentoox.tar.zst --wildcards \*System.map-\* > iso/boot/System-gentoo.map
-sed -i "s@dokeymap@aufs@g" iso/isolinux/isolinux.cfg
-sed -i "s@dokeymap@aufs@g" iso/grub/grub.cfg
+sed -i "s@dokeymap@aufs scandelay=3@g" iso/isolinux/isolinux.cfg
+sed -i "s@dokeymap@aufs scandelay=3@g" iso/grub/grub.cfg
xorriso -as mkisofs -r -J \
-joliet-long -l -cache-inodes \
-isohybrid-mbr /usr/share/syslinux/isohdpfx.bin \