Commit Graph

40 Commits

Author SHA1 Message Date
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
Luke Shumaker 74981a76ed fix more things up 2018-08-09 15:21:56 -04:00
Luke Shumaker 15a14b3951 osi-mk: Do our best to share the package cache with the host 2018-08-06 00:38:14 -04:00
Luke Shumaker 0556e4e4af fixo 2018-08-06 00:02:37 -04:00
Luke Shumaker 5f8ed48471 rename things 2018-08-05 21:56:44 -04:00