Commit Graph

27 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 9a4871f416 use livefs-editor to make customized isos
a while ago I rewrote inject-subiquity-snap in python, generalized it
and put it at https://github.com/mwhudson/livefs-editor.  TBH, it's
always been better than the shell version but now there's a reason to
switch to it: the impish live server ISO use layers, which the current
shell scripts do not support and livefs-editor now does.
2021-07-19 14:44:27 +12:00
Paride Legovini 8bfa0d705c inject-subiquity-snap: log xorriso errors
In command substitution stderr is not grabbed, so it's safe to drop the
/dev/null redirect to log it.
2021-02-23 13:11:54 +01:00
Michael Hudson-Doyle 047a903353 fail if -report_el_torito fails 2021-02-12 15:42:31 +13:00
Michael Hudson-Doyle ef78e7d01c re-run snap-preseed in inject-subiquity-snap.sh 2021-01-06 14:04:50 +13:00
Michael Hudson-Doyle d7a070962b fix shell quoting 2020-11-04 09:30:52 +13:00
Michael Hudson-Doyle 8987ab792c use -report_el_torito as_mkisofs option of xorriso to find command to repack ISO 2020-10-28 16:32:24 +13:00
Foster "Forst" Snowhill dca298a815
inject-subiquity-snap: recalculate MD5 for installer.squashfs
The inject-subiquity-snap.sh script rebuilds the installer.squashfs filesystem, but does not recalculate its MD5 hash.
This leads to an error message during bootup process, complaining about one of the files being damaged, that file
being installer.squashfs.

This commit introduces an extra step to recalculate the MD5 hash of the installer.squashfs and write it into
md5sum.txt, as well as to remove the GPG signature of the installer filesystem, since it's invalid anyway.
2020-08-02 18:05:34 +02:00
Michael Hudson-Doyle d9cea264f1 clean up the xorriso arguments in inject-subiquity-snap a bit 2020-07-22 15:06:29 +12:00
Dimitri John Ledkov cbaab430a3 Switch script to use python3, as python is no longer available
I guess good luck to the Jenkins CI?
2020-01-29 18:00:54 +00:00
Paride Legovini 0501a1d33b inject-subiquity-snap: fix the ppc64 edge iso volume name 2019-10-08 11:29:31 +02:00
Paride Legovini 627ecadf6b inject-subiquity-snap: add support for ppc64 iso images 2019-10-08 10:37:12 +02:00
Michael Hudson-Doyle 27b49c9849 use yaml.safe_load instead of yaml.load 2019-03-26 13:59:38 +13:00
Michael Hudson-Doyle b94dfd719c fix inject-subiquity-snap for a local snap again 2019-03-23 21:44:06 +13:00
Michael Hudson-Doyle cb2203be10 allow specifying a track to follow in inject-subiquity-snap.sh 2019-03-06 15:15:01 +13:00
Michael Hudson-Doyle 18ff7f6973 seed subiquity with an assertion if one is there 2019-03-01 13:20:17 +13:00
Michael Hudson-Doyle 8365b5d507 add options to inject-subiquity-snap to allow a custom snapd and store url 2019-03-01 09:13:05 +13:00
Michael Hudson-Doyle ee9956671e fix inject-subiquity-snap.sh to not exit 1 on non s390x 2019-02-22 12:13:13 +01:00
Michael Hudson-Doyle 0e844ccffa fix inject-subiquity-snap.sh now that installer overlay does not necessarily contain core snap 2018-12-19 12:23:05 +13:00
Dimitri John Ledkov 5041731ff7 scripts: add s390x support to inject-subiquity-snap 2018-11-23 01:45:15 +00:00
Michael Hudson-Doyle aa509d317a make it easier to replace the squashfses in an iso 2017-12-21 14:04:17 +13:00
Michael Hudson-Doyle 2eba19e5de mostly pointless tweaking of inject-subiquity-snap 2017-12-21 12:02:08 +13:00
Michael Hudson-Doyle bfe374f96e tidy up inject-this-snap with some bashisms 2017-12-19 16:03:53 +13:00
Michael Hudson-Doyle 168d372e68 allow editing filesystem.squashfs with inject-subiquity-snap 2017-12-19 15:51:39 +13:00
Michael Hudson-Doyle 3bad7e1295 add -c option to inject-subiquity-snap.sh too 2017-11-17 12:34:23 +13:00
Michael Hudson-Doyle 5d65ab88ab add -i flag to inject-subiquity-snap.sh to allow random edits of iso 2017-11-17 10:25:08 +13:00
Michael Hudson-Doyle ca631ab9c1 inject-subiquity-snap.sh: fix perms in generated installer.squashfs
this makes the generated ISOs boot again.
2017-11-10 15:37:24 +13:00
Michael Hudson-Doyle fae35af6ee fix subquity -> subiquity typos, including in script name 2017-08-23 10:26:09 +12:00