File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 247247# Now that we have the basic disk layout, initialize the basic
248248# OSTree layout, load in the ostree commit and deploy it.
249249ostree admin init-fs --modern $rootfs
250+ # Initialize the "stateroot"
251+ ostree admin os-init " $os_name " --sysroot $rootfs
250252if [ " ${rootfs_type} " = " ext4verity" ]; then
251253 ostree config --repo=$rootfs /ostree/repo set ex-fsverity.required ' true'
252254fi
@@ -257,7 +259,6 @@ if test -n "${remote_name}"; then
257259else
258260 deploy_ref=$commit
259261fi
260- ostree admin os-init " $os_name " --sysroot $rootfs
261262# Note that $ignition_firstboot is interpreted by grub at boot time,
262263# *not* the shell here. Hence the backslash escape.
263264allkargs=" $extrakargs \$ ignition_firstboot"
You can’t perform that action at this time.
0 commit comments