mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-08-23 16:56:17 +08:00
define initramfs scripts for ubuntu
provide a hook to require overlayfs module so the file system is available define a general script to overlay any readonly root filesystem into a non-persistent, writable filesystem
This commit is contained in:
14
initramfs/ubuntu/hooks/grub-btrfs-overlay
Executable file
14
initramfs/ubuntu/hooks/grub-btrfs-overlay
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh -e
|
||||
PREREQ=
|
||||
prereqs() {
|
||||
echo "$PREREQ"
|
||||
}
|
||||
case "$1" in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
manual_add_modules overlay
|
||||
Reference in New Issue
Block a user