mirror of
https://github.com/KDE/kde-linux.git
synced 2026-02-15 02:12:13 -05:00
overlay: add support for locale directory
inconveniently locales are in /usr/lib/locale rather than var. selectively overlay it with a subvolume
This commit is contained in:
@@ -28,6 +28,7 @@ cd "$tmpdir"
|
||||
rm -rfv ./*
|
||||
btrfs send "/system/@kdeos_$IMAGE_VERSION" | btrfs receive .
|
||||
btrfs subvolume create @home
|
||||
btrfs subvolume create @locale
|
||||
btrfs subvolume create @snap
|
||||
btrfs subvolume create @var-overlay
|
||||
btrfs subvolume create @etc-overlay
|
||||
|
||||
@@ -27,6 +27,9 @@ mount -v \
|
||||
mount -v \
|
||||
-o rw,subvol=@home \
|
||||
"$rootdisk" "${sysroot}/home"
|
||||
mount -v \
|
||||
-o rw,subvol=@locale \
|
||||
"$rootdisk" "${sysroot}/usr/lib/locale"
|
||||
mount -v \
|
||||
-o rw,subvol=@snap \
|
||||
"$rootdisk" "${sysroot}/snap"
|
||||
|
||||
@@ -13,6 +13,9 @@ SplitName=root
|
||||
Subvolumes=/@home
|
||||
MakeDirectories=/@home
|
||||
|
||||
Subvolumes=/@locale
|
||||
MakeDirectories=/@locale
|
||||
|
||||
Subvolumes=/@snap
|
||||
MakeDirectories=/@snap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user