Description
hairu
2022-08-27 11:43:02 UTC
Created attachment 801478 [details, diff]
gentoo.igz method patch
Created attachment 801481 [details, diff]
tentative genkernel method patch
Created attachment 801484 [details]
Script generating SquashFS image of changes to the liveGUI
Created attachment 801724 [details, diff]
updated gentoo.igz method patch
Cleaned a lot up and got docache working. Please test the way you boot. GRUB2 no longer needed...
Created attachment 801727 [details, diff]
updated genkernel method patch
Created attachment 801730 [details, diff]
updated gentoo.igz method patch
Third time's a charm?
Created attachment 801733 [details, diff]
updated genkernel method patch
Created attachment 802303 [details]
Script generating SquashFS image of changes to the liveGUI, now with update/bring-up capabilities against a new ISO
To save changes based on the currently-run ISO, just run the script.
To update/bring-up and save changes based on a new ISO, run the script with the UPDATE_TO=/path/to/livegui.iso environment variable... This is partly an interactive script: it will run etc-update once before installing/updating the packages that are in your modified /var/lib/portage/world, then it will run etc-update again before applying changes into the persistent image.
PS: Do not symlink your files if you are using the docache boot parameter! Also, docache seems to still be keeping the source block device(s) for image.squashfs and persist.squashfs mounted while booting when using overlayfs, so it is incomplete. I will see about fixing this tomorrow.
Created attachment 802798 [details, diff]
updated gentoo.igz method patch
docache should be properly fixed for overlayfs. please note that entries/modifications to fstab involving the same block device(s) used to boot must use spaces rather than tabs for the time being. apologies, got very tired...
Created attachment 802801 [details, diff]
updated genkernel method patch
Created attachment 803362 [details]
Script generating SquashFS image of changes to the liveGUI, now with update/bring-up capabilities against a new ISO
I changed/improved the behaviour of the updating part of the script to avoid running emerge/smart-live-rebuild when they aren't installed on the live medium being updated (untested/not-working install/admin cd support, which would still require squashfs-tools to be installed on them, which it isn't), as well as added set -e to stop the script on errors.
Created attachment 803641 [details]
Script generating SquashFS image of changes to the liveGUI, now with update/bring-up capabilities against a new ISO
Fixed some bugs, might still be problematic... I will conduct further tests soon.
|