mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-22 06:08:48 +00:00
Small fixes
This commit is contained in:
parent
2eb461f3de
commit
f284fea8b7
4 changed files with 75 additions and 81 deletions
|
@ -249,7 +249,7 @@ index 3001ec5..dc76d3c
|
|||
+
|
||||
+bootfstype=\$(blkid -s TYPE -o value \$boot_partition)
|
||||
+if [ "\$bootfstype" = "vfat" ]; then
|
||||
+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/Image /boot/*nitrd*
|
||||
+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/Image* /boot/*nitrd*
|
||||
+fi
|
||||
+}
|
||||
+mountpoint -q /boot && check_and_unmount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue