Commit Graph

9 Commits

Author SHA1 Message Date
Clayton Craft
1b9f0744b3 main: return 0 if deviceinfo is missing
It might be missing if the device package is installed after mkinitfs is
being called, so don't cause apk triggers to error out by returning
failure.
2021-08-16 22:32:32 -07:00
Clayton Craft
321cebff76 main: drop generating init.sh
This file is no longer a template since pmOS is only supporting 1
installed kernel at a time
2021-08-12 15:05:22 -07:00
Clayton Craft
d77de3b91a main: remove support for generating initfs with kernel 'flavor' in name
pmOS will only support 1 kernel:
https://gitlab.com/postmarketOS/pmaports/-/issues/660
2021-08-12 14:50:04 -07:00
Clayton Craft
206020c3f1 main: drop ununsed functions 2021-08-10 18:10:16 -07:00
Clayton Craft
40ae9e83dd main: remove checksumFile
This was left over from when I was trying to use the 'crc' cpio format,
that allows checksumming files in the cpio for checking integrity.

The 'crc' format isn't actually supported by the kernel... See:
https://lore.kernel.org/linux-doc/20210721115153.28620-2-ddiss@suse.de/
2021-08-10 18:10:16 -07:00
Clayton Craft
fda793fdb4 main/generateInitfs: create init.sh in a temp dir 2021-08-10 17:34:17 -07:00
Clayton Craft
a381516e53 rename project to postmarketos-mkinitfs
To help prevent any confusion about which distro this 'mkinitfs' is
intended for
2021-08-10 14:03:34 -07:00
Clayton Craft
7a92fb1608 main: add log msgs for writing initfs archives 2021-08-10 13:02:01 -07:00
Clayton Craft
64195a5f83 initial commit 2021-08-09 15:23:39 -07:00