Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logic for 01_elemental-rootfs.yaml #250

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Improve logic for 01_elemental-rootfs.yaml #250

merged 1 commit into from
Aug 4, 2022

Conversation

mjura
Copy link
Contributor

@mjura mjura commented Aug 3, 2022

Every time when we want to write configurarion file in /usr/loca/etc
directory has to be checked and created properly.

Otherwise we will see

Running stage: initramfs
Executing /system/oem/01_elemental-rootfs.yaml
Applying 'Elemental Rootfs Layout Settings' for stage 'initramfs'. Total stages: 3
Processing stage step ''. ( commands: 1, files: 0, ... )
Command output: sh: line 1: /usr/local/etc/hostname: No such file or directory
Processing stage step 'Persist /etc/machine-id'. ( commands: 1, files: 0, ... )
Command output:
Processing stage step 'Create essential persistent paths'. ( commands: 0, files: >

Signed-off-by: Michal Jura mjura@suse.com

Copy link
Contributor

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

Every time when we want to write configurarion file in /usr/loca/etc
directory has to be checked and created properly

Signed-off-by: Michal Jura <mjura@suse.com>
@mjura mjura merged commit 936f612 into master Aug 4, 2022
@mjura mjura deleted the rootfs-fix branch August 4, 2022 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants