archlinux: ensure /lib/modules is not deleted when kernel packages are removed
This commit is contained in:
parent
a134d0d290
commit
14e434a26c
@ -43,6 +43,8 @@ cat >> $INSTALLDIR/etc/fstab <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p $INSTALLDIR/lib/modules
|
mkdir -p $INSTALLDIR/lib/modules
|
||||||
|
# Creating a random file in /lib/modules to ensure that the directory in never deleted when packages are removed
|
||||||
|
touch $INSTALLDIR/lib/modules/QUBES
|
||||||
|
|
||||||
echo "--> Cleaning up..."
|
echo "--> Cleaning up..."
|
||||||
umount $INSTALLDIR/mnt/qubes-rpms-mirror-repo
|
umount $INSTALLDIR/mnt/qubes-rpms-mirror-repo
|
||||||
|
Loading…
Reference in New Issue
Block a user