File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ curl https://github.com/linux-surface/linux-surface/raw/refs/heads/master/pkg/ke
127127codename=$( . /etc/os-release && echo " $VERSION_CODENAME " )
128128echo " firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true" | debconf-set-selections
129129echo " firmware-ivtv firmware-ivtv/license/accepted boolean true" | debconf-set-selections
130+ apt-get purge -y \
131+ " linux-image-$( dpkg --print-architecture) "
130132apt-get install -y -t " ${codename} -backports" \
131133 " linux-image-$( dpkg --print-architecture) " \
132134 atmel-firmware \
@@ -169,6 +171,7 @@ apt-get install -y -t "${codename}-backports" \
169171KERNEL_VERSION=" $( basename " $( find /usr/lib/modules -maxdepth 1 -type d | grep -v -E " *.img" | tail -n 1) " ) "
170172dracut --force --no-hostonly --reproducible --zstd --verbose \
171173 --kver " $KERNEL_VERSION " " /usr/lib/modules/$KERNEL_VERSION /initramfs.img"
174+ cp -f " /boot/vmlinuz-$KERNEL_VERSION " " /usr/lib/modules/$KERNEL_VERSION /vmlinuz"
172175
173176# Print final package list
174177apt list --installed > /usr/share/snow/snow.packages.txt
You can’t perform that action at this time.
0 commit comments