wasta-remastersys:master

Last commit made on 2023-12-12
Get this branch:
git clone -b master https://git.launchpad.net/wasta-remastersys

Branch merges

Branch information

Name:
master
Repository:
lp:wasta-remastersys

Recent commits

6c2e74a... by Justin Luth

bump to 4.7.1: attempt to fix launchpad

Somehow launchpad has hung for a day,
failing to sync to bazaar.

Dummy change to force a retry.

d6a38eb... by Justin Luth

bump to 4.7.0

the changes here are just formatting improvements
 - tab removal
 -remove space-at-end-of-line

20fc2e6... by Justin Luth

mark cryptsetup/lvm2 as manually installed, avoiding orphaning

If you installed with encrypting the disk,
then it worked on first boot, but not on subsequent boots.

The problem is that ubiquity pulled these in as dependencies,
and when the installer was removed they were later autoremoved.

It is NOT enough to just put this into the firstboot service,
in case something goes wrong there. (I just put it here as
a double safety precaution.)

620e93a... by Justin Luth

bump to 4.6.4

I tested with 16.04 to verify it still works with older versions.
I'm very pleased that this has remained working for so long.

c811095... by Justin Luth

make wasta-remastersys calamares-aware

Calamares is a generic Linux installer.
It is used by Lubuntu and StudioLinux
within the Ubuntu family.
(Also Manjaro, KDE neon, OpenMandriva...)

With Ubuntu potentially dropping support for ubiquity,
(since it is developing an alternative in flutter),
it would be nice to support Calamares well.

One nice thing - it even works (as a live CD)
when you pick "just install" from the initial boot menu.
It fails to find the ubiquity installer,
and just boots up into live mode anyway.

0d63d75... by Justin Luth

warn if genisoimage and snaps have not been removed.

The normal "mkisofs" provided on Ubuntu is genisoimage,
which has a limit of a 4GB file able to be added to an ISO.
Since the file system is squashed into one big file,
this limit is easily reached if snaps are included.

Unfortunately the alternative mkisofs is not easy to find,
so it is hard to recommend something to the user
at this point, other than to remove snaps.

wasta-core provides wasta-remove-snaps, which keeps
apt snapd installed, but which removes all of the snaps
(which would be updated immediately after OS install anyway).

In my testing, the entire Ubuntu 24.04 (without snaps)
took 2GB, but with snaps it exceeded the limit
(with basically only firefox as a functional snap).

Without the warning, the user would go through
the entire ISO build process, only to fail at the last step.

4943438... by Justin Luth

bump to 4.6.3: clear some lint warnings. Ready for 24.04

Of course 24.04 is VERY early in development,
but at least it still works after 18 months of changes...

0101cdc... by Justin Luth

typo: GENISOIMAGE -> MKISO_GENISO

regression from 7e53aa72e4ccaf76aea32ceabfe81df2ef317d3e
which changed the name but missed one instance of it.

and I also took the opportunity to add a check for a
squashfs file existance (which I lost when I hit Ctrl-C).

483197d... by Justin Luth

typo: SQUASFSIZE -> SQUASHFSSIZE

ecc4a59... by Justin Luth

limit the version comparison to major and minor version numbers

Ubuntu 24.04 exposed the weakness in taking the version at face value.
4.6.1 >= 4.4 gave an input error, because a number cannot have
two decimal places. So limit it to 4.6. Zero-pad the minor version
since it isn't that hard to get to version to .10 or higher.