--- /dev/null
+PACKAGES install
+
+build-essential
+# pahole(1), provided by the dwwarves package in older Debian releases and the pahole package in sid as of 2022-08, can be needed to build kernel modules (depending on kernel config?)
+# TODO: add a script that removes it once dkms install succeeded so that it doesn't bloat the iso
+dwarves
+zfs-dkms
+zfsutils-linux
+
# by default it's set to UTC=no
if [ -n "$UTC" ] && [ "$UTC" = "yes" ] ; then
echo "UTC is set to 'yes', setting hwclock parameter UTC"
- sed -i "s/^LOCAL/UTC/" "${target}/etc/adjtime"
+ [ -e "${target}/etc/adjtime" ] && sed -i "s/^LOCAL/UTC/" "${target}/etc/adjtime"
fi
# default timezone settings