Commit Graph

64 Commits

Author SHA1 Message Date
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 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 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 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 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 ea2aac2154 Define $EXIT_ constants to use instead of littering magic numbers 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
Luke T. Shumaker d8b2dff2fc osi-mk: Differentiate downloading from installing in the output 2023-10-30 12:37:42 -06:00
Luke T. Shumaker 227ab30f77 Change the --version text to say "osi-tools" 2023-10-30 12:37:42 -06:00
Luke T. Shumaker 71f5da220c Bump the VERSION numbers 2023-10-28 14:18:52 -06:00
Luke Shumaker 2fd704f868 osi-mk: Don't bother re-running genfstab with --edit if we didn't reset FSID 2018-08-20 02:32:29 -04:00
Luke Shumaker 8e999aa7eb osi-mk: Add --package-file, improve help text 2018-08-18 17:50:57 -04:00
Luke Shumaker 661a960195 copyright statements/identifiers 2018-08-18 14:42:42 -04:00
Luke Shumaker 7e6b34c552 osi-mk: fix
"Ignore space change" will be useful
2018-08-16 02:00:07 -04:00
Luke Shumaker bda8c20f39 osi-mk: Fix option checking
"Ignore space change" is useful for this one.
2018-08-16 01:42:04 -04:00
Luke Shumaker 540db8eef8 run osi stuff through shellcheck
Disable SC2064 because we use @Q rather than deferred expansion.

The only real issue found is adding `-r` to `read` in osi-shell.
2018-08-16 01:36:18 -04:00
Luke Shumaker 93ba79d3ea osi-mk: Implement --edit --size 2018-08-16 01:19:05 -04:00
Luke Shumaker bd382780bb osi-mk: Tidy arg checking, require --size for new images 2018-08-16 01:18:06 -04:00
Luke Shumaker 4731f00bf0 osi-mk: Changing FSID breaks a few things, fix them 2018-08-14 16:53:02 -04:00
Luke Shumaker 291bd36a62 getopt doesn't safely "roundtrip" flags with an optional argument 2018-08-14 16:19:07 -04:00
Luke Shumaker 7d6a5fdf70 fix error messages ${@@Q} -> ${*@Q} 2018-08-14 16:18:17 -04:00
Luke Shumaker 164904cdae osi-mk: Edit the fsid when editing a copy 2018-08-14 16:04:07 -04:00
Luke Shumaker 456ec77b2e logging! 2018-08-13 01:16:36 -04:00
Luke Shumaker 8d28968d71 osi-mount: rewrite
- Add real option parsing
 - Split in to 2 distinct --root/--user modes
 - Ensure we umount before exiting.  Otherwise there might be a delay
   between us exiting and the umount happening when the mount
   namespace gets GC'd.
2018-08-12 23:53:58 -04:00
Luke Shumaker bef777cb37 osi-mk: Fixup directory adding 2018-08-12 21:03:56 -04:00