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

Recfactor immutable rootfs package and initrd creation #305

Merged
merged 4 commits into from
Jun 22, 2021

Conversation

davidcassany
Copy link
Contributor

This PR includes three concepts:

  • Drop isoscan use in favor of a self provided script that is not
    devoted to ISO images and offers some further flexibility. For
    instance this enables rd.cos.debugrw kernel parameter to boot on
    readwrite mode. Fixes Replace isoscan with a custom dracut script #65

  • Drop most dracut hooks in favor of early boot systemd services. This
    is relevant in case we want or need to recode the layout tools so
    we are not tied to shell scripts. This also properly adds the rootfs
    stage into cos-setup. This is relevant for Deploy image in COS_ACTIVE #220 so early boot
    configurations can be easily applied.

  • Move initrd creation from immutable-rootfs package an persist the
    dracut configuration in config files. Fixes Persist dracut configuration #239

Signed-off-by: David Cassany [email protected]

@mudler mudler enabled auto-merge (squash) June 22, 2021 06:22
Copy link
Contributor

@Itxaka Itxaka left a comment

Choose a reason for hiding this comment

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

havent tested it but it looks good

This commit it two fold:

* Drop isoscan use in favor of a self provided script that is not
  devoted to ISO images and offers some further flexibility. For
  instance this enables `rd.cos.debugrw` kernel parameter to boot on
  readwrite mode. Fixes #65

* Drop most dracut hooks in favor of early boot systemd services. This
  is relevant in case we want or need to recode the layout tools so
  we are not tied to shell scripts. This also properly adds the rootfs
  stage into cos-setup. This is relevant for #220 so early boot
  configurations can be easily applied.

Signed-off-by: David Cassany <[email protected]>
@davidcassany davidcassany force-pushed the drop_iso-scan_and_use_cos-img branch 2 times, most recently from 2ee09c5 to 48ab48b Compare June 22, 2021 14:39
Signed-off-by: David Cassany <[email protected]>
@davidcassany davidcassany force-pushed the drop_iso-scan_and_use_cos-img branch from 48ab48b to 95ce466 Compare June 22, 2021 14:41
@mudler mudler merged commit 0dcef3e into master Jun 22, 2021
@mudler mudler deleted the drop_iso-scan_and_use_cos-img branch June 22, 2021 19:02
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.

Persist dracut configuration Replace isoscan with a custom dracut script
3 participants