mirror of
https://github.com/KDE/kde-linux.git
synced 2026-06-16 19:39:24 -04:00
make sure btrfs is in the initrd
This commit is contained in:
@@ -27,6 +27,8 @@ mount -v \
|
||||
# Make sure our subvolumes exist! In particular if we introduce subvolumes after installation.
|
||||
# FIXME This is a bit garbage. It'd be much tidier if we could tell repart to do this for us. But in some sort of
|
||||
# safe mode so it doesn't twiddle the partition table.
|
||||
# FIXME does this even work? do we have btrfs util in the initrd?
|
||||
|
||||
[ -d "${sysroot}/system/@root" ] || btrfs subvolume create "${sysroot}/system/@root"
|
||||
|
||||
mount -v \
|
||||
|
||||
@@ -7,7 +7,8 @@ build() {
|
||||
/usr/lib/systemd/systemd-volatile-root \
|
||||
/usr/bin/_kdeos-overlay \
|
||||
/usr/lib/systemd/system-generators/kdeos-live-generator \
|
||||
/usr/lib/systemd/systemd-bootchart
|
||||
/usr/lib/systemd/systemd-bootchart \
|
||||
/usr/bin/btrfs
|
||||
|
||||
map add_systemd_unit \
|
||||
systemd-volatile-root.service \
|
||||
|
||||
Reference in New Issue
Block a user