From: Ian Kelling Date: Sat, 22 Jul 2023 04:34:44 +0000 (-0400) Subject: add newer kernels X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=6ba7f4d1207a9421d5a0a7495fb813d5e84fad21;p=automated-distro-installer add newer kernels --- diff --git a/fai-redep b/fai-redep index dc13489..de195d5 100755 --- a/fai-redep +++ b/fai-redep @@ -76,7 +76,7 @@ install --owner=iank --group=iank -d fai/config/files/usr/local/bin/hssh install --owner=iank --group=iank -d fai/config/files/usr/local/bin/ssh_filter_btrbk.sh rsync -atL /a/opt/btrbk/ssh_filter_btrbk.sh fai/config/files/usr/local/bin/ssh_filter_btrbk.sh/STANDARD -m rsync -rlpt --delete --relative --exclude /fai/config/basefiles/ fai/config "${rpre[@]}"/srv +m rsync -rlpt --delete --relative --exclude /fai/config/basefiles/ fai/config /a/opt/btrfs-progs-release/btrfs-progs-v6.3.2 "${rpre[@]}"/srv # todo: automatically disable faiserver after a period so # these files are not available. diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes index a59ff3b..600fd1a 100755 --- a/fai/config/class/50-host-classes +++ b/fai/config/class/50-host-classes @@ -8,6 +8,9 @@ # set these early so they are lowest priority. echo FAIBASE STANDARD DEBIAN +# note, this is where this file comes from: +# cp /usr/share/keyrings/freesh-archive-keyring.gpg STANDARD.gpg + # For multi-boot system. # We check that we aren't in a pxe boot environment. diff --git a/fai/config/package_config/STANDARD.gpg b/fai/config/package_config/STANDARD.gpg new file mode 100644 index 0000000..465f673 Binary files /dev/null and b/fai/config/package_config/STANDARD.gpg differ diff --git a/fai/config/scripts/IANK/11-iank b/fai/config/scripts/IANK/11-iank index e65510b..43fc13b 100755 --- a/fai/config/scripts/IANK/11-iank +++ b/fai/config/scripts/IANK/11-iank @@ -202,6 +202,41 @@ EOF fi +# for btrfs bug reporting, install latest kernel and btrfs progs, as of +# 2023-07-21 +case $HOSTNAME in + sy) + mkdir -p $FAI_ROOT/tmp/kernel-debs + cd $FAI_ROOT/tmp/kernel-debs + va=6.4.3 + vb=$va-060403 + vc=${vb}.202307110536 + pre="https://kernel.ubuntu.com/~kernel-ppa/mainline/v$va/amd64/linux-" + urls=( + ${pre}headers-${vb}_${vc}_all.deb + ${pre}{headers,image-unsigned,modules}-${vb}-generic_${vc}_amd64.deb + ) + wget "${urls[@]}" + chroot $FAI_ROOT make install + + chroot $FAI_ROOT bash <$target/etc/initramfs-tools/conf.d/mine <