mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-08-22 23:53:16 +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:
5
initramfs/ubuntu/setup
Executable file
5
initramfs/ubuntu/setup
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SCRIPT_DIR="$(cd -P -- "$(dirname -- "$BASH_SOURCE")" && pwd)"
|
||||
install {"$SCRIPT_DIR",/etc/initramfs-tools}/hooks/grub-btrfs-overlay
|
||||
install {"$SCRIPT_DIR",/etc/initramfs-tools}/scripts/local-bottom/grub-btrfs-overlay
|
||||
Reference in New Issue
Block a user