1-get-initial-setup-working #2
3
setup.sh
3
setup.sh
@ -269,6 +269,9 @@ function set_initramfs_build_list () {
|
|||||||
-e '/^fallback/d' \
|
-e '/^fallback/d' \
|
||||||
-e 's'$'\x1''^(PRESETS=)[^\r\n\f]*'$'\x1''\1('"'"'default'"'"')'$'\x1''g' \
|
-e 's'$'\x1''^(PRESETS=)[^\r\n\f]*'$'\x1''\1('"'"'default'"'"')'$'\x1''g' \
|
||||||
'/mnt/etc/mkinitcpio.d/linux.preset'
|
'/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 () {
|
function add_zfs_files_to_new_os () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user