Skip to content

Commit

Permalink
config: change the root label checking from COS_ACTIVE to COS_STATE
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <[email protected]>
  • Loading branch information
Vicente-Cheng committed Jul 3, 2023
1 parent ee73a9a commit aed924f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/system/oem/00_rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ stages:
environment:
VOLUMES: "LABEL=COS_OEM:/oem"
OVERLAY: "tmpfs:25%"
- if: 'grep -q root=LABEL=COS_ACTIVE /proc/cmdline && grep -q rd.cos.debugrw /proc/cmdline'
- if: 'grep -q root=LABEL=COS_STATE /proc/cmdline && grep -q rd.cos.debugrw /proc/cmdline'
name: "Layout configuration for debugrw"
environment_file: /run/cos/cos-layout.env
environment:
Expand Down

0 comments on commit aed924f

Please sign in to comment.