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