Skip to content

Commit 61a7035

Browse files
committed
use ugrd_squashfs_image instead of squashfs_image
fix broken update for namespaced cmdline args. Issue was hidden becaue of the recovery entry Signed-off-by: Zen <[email protected]>
1 parent 6467493 commit 61a7035

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ugrd/fs/livecd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "desultory"
2-
__version__ = "0.7.0"
2+
__version__ = "0.7.1"
33

44
from zenlib.util import contains
55

@@ -52,7 +52,7 @@ def set_squashfs_root_source(self) -> str:
5252
otherwise checks that the built-in squashfs source exists."""
5353
return """
5454
root_source="$(readvar MOUNTS_ROOT_SOURCE)"
55-
squashfs_image_name="$(readvar squashfs_image)"
55+
squashfs_image_name="$(readvar ugrd_squashfs_image)"
5656
squashfs_image="/run/livecd/$squashfs_image_name"
5757
if [ -n "$squashfs_image_name" ]; then
5858
if [ -e "$squashfs_image" ]; then

src/ugrd/fs/livecd.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ test_copy_config = ["squashfs_image", "livecd_label"]
2020
"set_squashfs_root_source" = "mount_root" # The squashfs must be mounted before the root (overlay)
2121
"mount_livecd" = "set_squashfs_root_source" # The root source should be checked before mounting
2222

23-
2423
[custom_parameters]
2524
squashfs_image = "Path" # the path to the squashfs image (at runtime)
2625
livecd_label = "str" # The label of the livecd

0 commit comments

Comments
 (0)