Commit Graph

221 Commits

Author SHA1 Message Date
Luke T. Shumaker 5dd1275ca3 osi-mount: Fix --root 2024-01-04 19:31:40 -07:00
Luke T. Shumaker 7b87204259 Add basic tests 2024-01-04 19:31:40 -07:00
Luke T. Shumaker 64ecc5c1cd Makefile: Tidy up 2024-01-04 15:32:39 -07:00
Luke T. Shumaker 67bc1c476f Move things to `lib/` or `bin/` subdirectories 2024-01-04 15:16:23 -07:00
Luke T. Shumaker ee012efdaf Fuss with copyright notices 2023-12-12 20:23:30 -07:00
Luke T. Shumaker 7a7c9e09f6 Delete notsystemd-tests specific TODO.md 2023-12-12 20:21:50 -07:00
Luke T. Shumaker 37a8c20d09 indent: Relicense from GPLv3+ to AGPLv3+ 2023-12-12 20:19:52 -07:00
Luke T. Shumaker 0ed19382db osi-mk: Drop the grub-hack 2023-12-12 20:12:33 -07:00
Luke T. Shumaker e5a6ff8f49 osi-mk: Pay attention to package-file dependencies 2023-12-12 19:58:08 -07:00
Luke T. Shumaker 15065fd14e osi-mk: Fix for --package-file args with slashes 2023-11-21 10:43:29 -07:00
Luke T. Shumaker 155f5bacc7 osi-mk: Even better indent 2023-11-10 00:43:55 -07:00
Luke T. Shumaker 0d17e70a32 osi-mk: better prefix indent 2023-11-09 23:18:26 -07:00
Luke T. Shumaker 4596d60a27 osi-mk: Drop GRUB_TIMEOUT=0 2023-11-09 15:50:46 -07:00
Luke T. Shumaker 34d8dc3fbd osi-mk: Don't install the grub hack if we're not using grub 2023-11-07 22:07:03 -07:00
Luke T. Shumaker 773475eb00 osi-mount: Fix usage string 2023-11-07 21:39:42 -07:00
Luke T. Shumaker cb46fa9f2b osi-mount: Handle the device being a relative path 2023-11-07 21:29:00 -07:00
Luke T. Shumaker ccde191ee9 Move docs+examples to a 'Documentation' directory 2023-11-06 11:42:01 -07:00
Luke T. Shumaker b86432c553 osi-mk: Implement SOURCE_DATE_EPOCH 2023-11-05 01:40:44 -06:00
Luke T. Shumaker 9359344edb osi-mk: Change+document the priorities of built-in hooks 2023-11-04 01:08:34 -06:00
Luke T. Shumaker 9ab0f3348c osi-mk: Improve output logging 2023-11-04 00:55:45 -06:00
Luke T. Shumaker 352d6c1d9a osi-mk: Rename it mkinitcpio.conf.d/Pdrivers,osi-mk}.conf 2023-10-31 14:18:46 -06:00
Luke T. Shumaker 49c4f1baff fixup! osi-mount: Add the system protections for --root 2023-10-31 02:52:46 -06:00
Luke T. Shumaker 9d45971555 osi-mk: Add an option to disable genfstab 2023-10-31 02:47:59 -06:00
Luke T. Shumaker d32200221e osi-mk: Run the hostname hook early not late 2023-10-31 02:47:58 -06:00
Luke T. Shumaker ea5b7c59e5 Add erofs support 2023-10-31 02:47:55 -06:00
Luke T. Shumaker 65ca19d89c osi-mk: Indent code to make the next diff more readable 2023-10-31 02:46:52 -06:00
Luke T. Shumaker 58a31419fb osi-mk: Have adjustments to pre_install and post_install be on 1 line 2023-10-31 02:46:11 -06:00
Luke T. Shumaker 8343cbc924 osi-mk: Use --reflink when copying the base image 2023-10-31 02:46:10 -06:00
Luke T. Shumaker 929a6897b2 osi-mk: Improve /etc/fstab 2023-10-31 02:46:09 -06:00
Luke T. Shumaker 10074ec817 osi-mount: Tidy whitespace 2023-10-31 02:46:08 -06:00
Luke T. Shumaker 7a67f1a27c osi-mount: Add the system protections for --root 2023-10-31 02:46:07 -06:00
Luke T. Shumaker 9bc4b0f969 osi-mk: Fix ownership of --directory 2023-10-31 02:46:06 -06:00
Luke T. Shumaker f9bed9b966 osi-mk: Fuss with built-in hook priorities 2023-10-31 02:46:05 -06:00
Luke T. Shumaker db34ae8768 osi-mk: Add a --conf=hostname= flag 2023-10-31 02:46:04 -06:00
Luke T. Shumaker 17ff65d2c3 Don't require to be run in this directory 2023-10-31 02:46:03 -06:00
Luke T. Shumaker 618bd4d891 testuser.sh: Use arch-chroot instead of plain chroot 2023-10-31 02:46:02 -06:00
Luke T. Shumaker b631e05832 osi-mk: Don't assume that all --conf options are packages 2023-10-31 02:46:01 -06:00
Luke T. Shumaker 41cd268aa1 osi-mk: bugfix: Update for modern GRUB 2023-10-31 02:46:00 -06:00
Luke T. Shumaker 3b8103bdf5 osi-mk: Hack for injecting a different `grub-install` into the image 2023-10-31 02:45:59 -06:00
Luke T. Shumaker 43e3a10c96 Document the osi-mk module interface 2023-10-31 02:45:56 -06:00
Luke T. Shumaker 3253758baf osi-mk: Add a pre_install hook too 2023-10-30 15:10:08 -06:00
Luke T. Shumaker 2405a79cab osi-mk: bugfix: Don't inherit swap devices from the host 2023-10-30 15:10:08 -06:00
Luke T. Shumaker 10ee5e2627 osi-mk: Have the user explicitly make pacman choices 2023-10-30 15:10:08 -06:00
Luke T. Shumaker edd82ce745 osi-mk: Split of the download-repos and the download-packages steps 2023-10-30 15:10:08 -06:00
Luke T. Shumaker 287dd071fd osi-mk: Improve comments 2023-10-30 12:37:42 -06:00
Luke T. Shumaker 19da627f7e osi.sh: Use gprintf instead of print in error() 2023-10-30 12:37:42 -06:00
Luke T. Shumaker ea2aac2154 Define $EXIT_ constants to use instead of littering magic numbers 2023-10-30 12:37:42 -06:00
Luke T. Shumaker 7afc24595b Write a `pacman-choices` program 2023-10-30 12:37:42 -06:00
Luke T. Shumaker 20cfb0ef42 Clean up `# shellcheck disable=` markers 2023-10-30 12:37:42 -06:00
Luke T. Shumaker c7721cadd5 osi-mk: Also copy .sig files from the host 2023-10-30 12:37:42 -06:00