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

livecd-iso-to-disk & editliveos: Preserve extra-kernel-args from source. Refresh vmlinuz & initrd.img upon kernel updates. #214

Merged
merged 2 commits into from
Sep 27, 2021

Conversation

FGrose
Copy link
Contributor

@FGrose FGrose commented Sep 11, 2021

1. Preserve extra-kernel-args from source

Preserve any extra kernel arguments that have been added by editliveos
or manually to the source boot configuration files.
Also:

  • Add a bind mount to the host root filesystem for editliveos --script
    or shell so as to ease access to host files from the install chroot.
  • Improve some error handling & reporting.
  • Adjust some space accounting & reporting for filesystem variations.
  • Enable the ext4 64bit feature if the host's SYSLINUX version >= 6.04
  • Update all boot configuration files upon editliveos refresh.
  • fsck filesystems upon editliveos refresh.
  • Fix a --refresh-only bug in editliveos.

2. Refresh vmlinuz & initrd.img upon kernel updates

Detect when a new kernel has been installed and update the working
copies to the newer version for both the new .iso image and a
refreshable source, including a currently booted LiveOS image. (The
new versions will be active on the next boot.)

  • Enhance kernel version checking in livecd-iso-to-disk to test
    for matching versions in the kernel and initial RAM filesystems.
  • Mount macboot.img and copy its files rather than using dd on the
    whole image. This proved to be more robust during fsck.hfsplus.
  • Copy proper image & syslinux directories on multi-image sources.
  • Preserve mode, ownership, timestamps on more copy calls.
  • Add some line breaks to separate transcript sections.
  • Add a missing import to util.py.
  • Update documentation.

Preserve any extra kernel arguments that have been added by editliveos
or manually to the source boot configuration files.
Also:
 - Add a bind mount to the host root filesystem for editliveos --script
   or shell so as to ease access to host files from the install chroot.
 - Improve some error handling & reporting.
 - Adjust some space accounting & reporting for filesystem variations.
 - Enable the ext4 64bit feature if the host's SYSLINUX version >= 6.04
 - Update all boot configuration files upon editliveos refresh.
 - fsck filesystems upon editliveos refresh.
 - Fix a --refresh-only bug in editliveos.
Detect when a new kernel has been installed and update the working
copies to the newer version for both the new .iso image and a
refreshable source, including a currently booted LiveOS image. (The
new versions will be active on the next boot.)

 - Enhance kernel version checking in livecd-iso-to-disk to test
   for matching versions in the kernel and initial RAM filesystems.
 - Mount macboot.img and copy its files rather than using dd on the
   whole image. This proved to be more robust during fsck.hfsplus.
 - Copy proper image & syslinux directories on multi-image sources.
 - Preserve mode, ownership, timestamps on more copy calls.
 - Add some line breaks to separate transcript sections.
 - Add a missing import to util.py.
 - Update documentation.
@FGrose FGrose changed the title livecd-iso-to-disk & editliveos: Preserve extra-kernel-args from source. livecd-iso-to-disk & editliveos: Preserve extra-kernel-args from source. Refresh vmlinuz & initrd.img upon kernel updates. Sep 25, 2021
@Conan-Kudo Conan-Kudo merged commit 0cd7cbb into livecd-tools:main Sep 27, 2021
@FGrose FGrose deleted the new branch September 27, 2021 14:11
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.

2 participants