refactor(os): Remove existing initramfs fallback files when we remove them from build instructions (#1)
This commit is contained in:
parent
6cee2ab403
commit
23ca5f0c65
3
setup.sh
3
setup.sh
@ -269,6 +269,9 @@ function set_initramfs_build_list () {
|
||||
-e '/^fallback/d' \
|
||||
-e 's'$'\x1''^(PRESETS=)[^\r\n\f]*'$'\x1''\1('"'"'default'"'"')'$'\x1''g' \
|
||||
'/mnt/etc/mkinitcpio.d/linux.preset'
|
||||
|
||||
# Remove any existing fallback initramfs files
|
||||
find '/mnt/boot' -type f -regextype posix-extended -iregex '^/mnt/boot/initramfs-.*?-fallback.img' -delete
|
||||
}
|
||||
|
||||
function add_zfs_files_to_new_os () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user