summaryrefslogtreecommitdiffstats
path: root/gentoox_build.sh
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2020-02-06 18:34:54 -0600
committerKyle K <kylek389@gmail.com>2020-02-06 18:34:54 -0600
commita15e402f359a977403b0217d2bc2882ea3b3b675 (patch)
tree9f9ea2c7ffb62db5d876ac06fa19f2e182d5ce41 /gentoox_build.sh
parentca1e59cd98f29497295d161e41e95e4309671c53 (diff)
downloadgentoox-a15e402f359a977403b0217d2bc2882ea3b3b675.tar.gz
gentoox-a15e402f359a977403b0217d2bc2882ea3b3b675.tar.bz2
gentoox-a15e402f359a977403b0217d2bc2882ea3b3b675.zip
make note on CONFIG_ISO9660_FS=y
Diffstat (limited to 'gentoox_build.sh')
-rwxr-xr-xgentoox_build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/gentoox_build.sh b/gentoox_build.sh
index 6b6d585..071100b 100755
--- a/gentoox_build.sh
+++ b/gentoox_build.sh
@@ -10,6 +10,7 @@ fi
# • plymouth graphical splash via genkernel-next is commented out as it only supports systemd, GentooX is using OpenRC
# • ZFS temporarily disabled as it's not officially supported in Linux 5.5 and also errors with:
# FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol '__rcu_read_lock'
+# • CONFIG_ISO9660_FS=y must be a module and not 'm' otherwise livecd won't boot, squashfs cannot be bigger than 4GB, also empty 'livecd' file should exist on iso's /
#
# dependencies
# base install: genkernel btrfs-progs portage-utils gentoolkit cpuid2cpuflags cryptsetup lvm2 mdadm dev-vcs/git
@@ -214,6 +215,9 @@ if [[ ! -f '/tmp/gentoox-kernelpatches-applied' ]]; then
patch -p1 < ../zfs-ungpl-rcu_read_unlock-export.diff
patch -p1 < 0001-WireGuard-20200205.patch
sed -i 's/CONFIG_DEFAULT_HOSTNAME="artixlinux"/CONFIG_DEFAULT_HOSTNAME="gentoox"/' .config
+ sed -i 's/CONFIG_LOCALVERSION=""/CONFIG_LOCALVERSION="-x86_64"/' .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
make oldconfig
touch /tmp/gentoox-kernelpatches-applied
fi
@@ -222,7 +226,7 @@ cd /usr/src
rm -f $KERNEL_CONFIG_DIFF
#mkdir -p /usr/share/genkernel/distfiles/
#wget https://www.busybox.net/downloads/busybox-1.20.2.tar.bz2 -d /usr/share/genkernel/distfiles/
-#cho -e '\nMAKEOPTS="-j12"' >> /etc/genkernel.conf
+#echo -e '\nMAKEOPTS="-j12"' >> /etc/genkernel.conf
# former command is genkernel-next (systemd only), latter is for genkernel
#genkernel --kernel-config=/usr/src/linux-\$KERNELVERSION-gentoo/.config --no-mrproper --udev --plymouth --luks --lvm --mdadm --btrfs --zfs all