InsanePrawn
|
6581e34087
|
move packages/{device,deviceinfo}.py to devices/
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c4900cfd00
|
image.py: factor out and fix up dump_file_from_image() from dump_lk2nd() and friends
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
f016eccc6e
|
image.py: bring back enforce_wrap()
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
5580c48b08
|
image.cmd_build(): use correct strictness for filter_pkgbuilds() for local vs extra packages
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
707efe6bbd
|
image: use Flavour.parse_flavourinfo() for rootfs_size
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
3c91abd175
|
image.py: use new constants.POST_CMDS for post-cmd instead of per-flavour cmd
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
02e1b75a79
|
image.py: migrate to packages.flavour.get_profile_flavour() for the flavour name
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
dd0d848b8f
|
image.cmd_build(): parse deviceinfo only after building the packages
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
927fa352c5
|
image,flash: get sector size from deviceinfo
|
2022-11-09 20:11:20 +01:00 |
|
InsanePrawn
|
daa7b68738
|
packages: split up __init__.py into build.py and cli.py
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
5a565662eb
|
image.py: use Device instead of the device name from config
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
5cb747aa26
|
packages and image: wrap more upfront on missing binaries
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
1cac36b73a
|
chroot: add chroot.add_sudo_config()
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
8ad18c00a6
|
global: refactor to use config.{file,runtime}.$member instead of config.file["$member"]
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
3952892029
|
generator.generate_pacman_conf_body(): add in_chroot=False param to use config.get_path('pacman') if necessary
|
2022-08-23 21:41:41 +02:00 |
|
InsanePrawn
|
f5e3fa46ad
|
packages/ and image.py: less wrapping, remove hardcoded 'aarch64' where possible
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
e001d107c2
|
move packages.{clone_pkbuilds(),discover_packages(),init_pkgbuilds()} to packages.pkgbuild
also rename discover_packages() to discover_pkgbuilds()
|
2022-08-19 17:13:03 +02:00 |
|
InsanePrawn
|
8b9fe661cf
|
image.py: remove iflag=direct from dd argv as it errors out on tmpfs
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
216050fbb4
|
image.py: extract losetup_destroy() for reuse
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
7f9f326861
|
image.shrink_fs(): no need to run truncate elevated, we own the image file
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
dd7e1716b8
|
image.py: cleanups, run umount as root
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
707c61f026
|
replace os.makedirs with exec.{root_,}makedir where applicable
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
cc29b60f9f
|
use exec.file.{root_write_file,remove_file} where appropiate
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
879fd113f0
|
exec: migrate exec.py to exec/cmd.py
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
c562271006
|
image.py: use exec.run_root_cmd()
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
572638ece9
|
image.cmd_inspect(): don't require a profile name
|
2022-08-13 01:39:27 +02:00 |
|
InsanePrawn
|
bcf7450235
|
image.install_rootfs(): write /etc/hostname
|
2022-08-11 07:24:48 +02:00 |
|
InsanePrawn
|
97c1bd1f74
|
{image,packages}.cmd_build(): document the HTTPS download behaviour
and minor cleanups for cli params
|
2022-08-10 01:38:45 +02:00 |
|
InsanePrawn
|
5f3e43a922
|
image.py: autoformat cmd_build() parameter decorators
|
2022-08-10 01:05:49 +02:00 |
|
InsanePrawn
|
d8e754cdd9
|
image.cmd_build(): add --no-download-pkgs ; clean up other params
|
2022-08-09 00:10:58 +02:00 |
|
InsanePrawn
|
e460e7d0be
|
image: fix runtime conf access for native architecture
|
2022-05-09 01:35:04 +02:00 |
|
InsanePrawn
|
6000679817
|
image: cmd_build(): add --[no-]local-repos to build images from https repos only
|
2022-05-08 18:05:15 +02:00 |
|
InsanePrawn
|
e288918e58
|
image.py: make device paths work with cmd_flash() again, add dd debug output
|
2022-05-08 18:05:15 +02:00 |
|
InsanePrawn
|
9ff6f24489
|
chroot/: fix class vars vs instance vars
looking at you, Chroot.active_mounts = []
|
2022-03-03 16:54:43 +01:00 |
|
InsanePrawn
|
179434729b
|
image.shrink_fs(): fix image size calculation
|
2022-03-02 16:26:04 +01:00 |
|
InsanePrawn
|
6fdf426f6e
|
install_rootfs(): add sudoers.d/wheel
|
2022-03-02 16:26:04 +01:00 |
|
InsanePrawn
|
7a324555da
|
Type annotate all the things!
|
2022-02-18 06:32:04 +01:00 |
|
InsanePrawn
|
0c3592065c
|
distro: refactor into multiple files, packages: factor out distro.Pkgbuild class
|
2022-02-17 05:55:35 +01:00 |
|
InsanePrawn
|
5b730ce342
|
cmd_image_inspect(): add profile-name arg
|
2022-02-15 00:03:48 +01:00 |
|
InsanePrawn
|
d2ec51b364
|
trim leftovers to please the formatter
|
2022-02-14 20:05:13 +01:00 |
|
InsanePrawn
|
5f6772eb39
|
add size_extra_mb to profiles, use in cmd_image_build()
|
2022-02-14 19:59:43 +01:00 |
|
InsanePrawn
|
bd20a1123e
|
cmd_image_build(): always create new -full.img file
|
2022-02-14 18:53:36 +01:00 |
|
InsanePrawn
|
3ed8d379dd
|
Add help strings to all click CMDs
|
2022-02-13 19:57:04 +01:00 |
|
InsanePrawn
|
f0a9d3a670
|
image.py: add create_filesystem(), improve log output in cmd_inspect()
|
2022-02-07 01:59:53 +01:00 |
|
InsanePrawn
|
fc58f4288f
|
image.py: specify blocksize when creating filesystems (mke2fs -b)
|
2022-02-07 01:20:38 +01:00 |
|
InsanePrawn
|
52933e6377
|
image, flash: refactor get_image_{name,path} to not rely on a chroot instance, introduce per-partition image files
|
2022-02-07 00:56:27 +01:00 |
|
InsanePrawn
|
c9cd26be61
|
image.py: fix image corruption with partprobe
Partition mappings are initially created with the wrong sectorsize
for whatever reason..
|
2022-02-07 00:52:18 +01:00 |
|
InsanePrawn
|
94cd4b8331
|
s/bootimg/aboot/i
|
2022-02-06 20:36:11 +01:00 |
|
InsanePrawn
|
1b71a686cd
|
image.py: refactor mount_rootfs_loop_device() into mount_chroot()
|
2022-02-06 19:48:34 +01:00 |
|
InsanePrawn
|
0533b5b901
|
image.py: rename boot.img to aboot.img
|
2022-02-06 19:41:31 +01:00 |
|