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
Luke Shumaker
6ad087c117
os-mk: comments
2018-08-12 18:25:10 -04:00
Luke Shumaker
73b5d49c81
osi-mk: Skip more things on --edit
2018-08-12 18:23:22 -04:00
Luke Shumaker
4b1451ba59
osi-mk: Speed edits up by passing --needed to Pacman
2018-08-12 18:16:21 -04:00
Luke Shumaker
ab92364bdd
osi-mk: Sanity check arguments
2018-08-12 18:15:43 -04:00
Luke Shumaker
5c3011d319
osi-mk: Even better logging
2018-08-12 18:05:29 -04:00
Luke Shumaker
5f4501b5d2
osi-mk: Better logging
2018-08-12 17:53:08 -04:00
Luke Shumaker
85aaece776
osi-mk: Tidy up
2018-08-12 16:35:56 -04:00
Luke Shumaker
239eb29ff5
osi-mk: learn to edit existing images
2018-08-11 22:35:52 -04:00
Luke Shumaker
4a5f7bda0e
pull osi-mount out in to a separate command
2018-08-11 17:23:12 -04:00
Luke Shumaker
ae58deb68a
pull some things in to a library
2018-08-11 15:00:27 -04:00