Commit Graph

68 Commits

Author SHA1 Message Date
Luke Shumaker f61ce11643 replace osi-run with osi-shell 2018-08-14 21:15:21 -04:00
Luke Shumaker a3e647985f osi-run: Fix quoting 2018-08-14 16:54:25 -04:00
Luke Shumaker d4bbf0e2a4 osi-mount: Fixup option parsing 2018-08-14 16:54:09 -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 0e72442e94 osi-mount: Simplify
I think that a lot of the hacks are unnescessary and are fixed by the FSID
thing.
2018-08-14 16:08:32 -04:00
Luke Shumaker 164904cdae osi-mk: Edit the fsid when editing a copy 2018-08-14 16:04:07 -04:00
Luke Shumaker ee05d5c7cc f 2018-08-14 11:37:29 -04:00
Luke Shumaker 17a2f20f89 be careful about detaching loop devices
umount should do this automatically, but it seems to not always work
2018-08-13 02:55:40 -04:00
Luke Shumaker 9bcb05a771 systemd-osi-run: Order after multi-user.target 2018-08-13 02:54:45 -04:00
Luke Shumaker 456ec77b2e logging! 2018-08-13 01:16:36 -04:00
Luke Shumaker 6f8331937b osi-mount: Better logging 2018-08-13 00:47:18 -04:00
Luke Shumaker 7d8235a5c2 runtests: don't remove evidence 2018-08-13 00:47:05 -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 f46ece4a58 osi-run: set the VM name 2018-08-12 23:38:54 -04:00
Luke Shumaker 2e9b82202e runtests: the value of COMMIT is embedded in the build name, don't depend on .COMMIT.mk 2018-08-12 22:50:29 -04:00
Luke Shumaker f5d0d49db8 runtests: preload build.raw with blacklist.txt 2018-08-12 22:32:44 -04:00
Luke Shumaker bef777cb37 osi-mk: Fixup directory adding 2018-08-12 21:03:56 -04:00
Luke Shumaker f8e7b3725c runtests: prevent chcleanup getting confused on rebuild 2018-08-12 19:38:41 -04:00
Luke Shumaker abd91d1c41 osi-mk.d: osi-run: fix 2018-08-12 19:38:25 -04:00
Luke Shumaker 89a7fd9a44 abs/: sync with [libre] 2018-08-12 19:38:15 -04:00
Luke Shumaker 6b1779db22 runtests: fixup 2018-08-12 19:18:05 -04:00
Luke Shumaker 023468891e runtests: put "check:" targets after COMMIT resolution 2018-08-12 19:11:11 -04:00
Luke Shumaker 467c5a444b runtests: fix ownership 2018-08-12 18:49:35 -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 3114282225 runtests: fixup 2018-08-12 18:16:27 -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 fd368df560 runtests: do cool things 2018-08-12 17:56:54 -04:00
Luke Shumaker 6925327a1b osi-mk.d: osi-run: simplify 2018-08-12 17:56:29 -04:00
Luke Shumaker ba4a56c7e6 fixo 2018-08-12 17:56:14 -04:00
Luke Shumaker 5f4501b5d2 osi-mk: Better logging 2018-08-12 17:53:08 -04:00
Luke Shumaker e5def6946c osi-run: Do real option parsing, let osi-mount be only priv esc 2018-08-12 16:37:04 -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 7e15aa1fad turn runtests into a makefile 2018-08-11 22:35:35 -04:00
Luke Shumaker 043af589eb Use `git rev-parse` to turn git revs in to commits 2018-08-11 21:58:39 -04:00
Luke Shumaker 80dfe8a2db Revert "fix gitref"
This reverts commit 844d16ea85.
2018-08-11 21:56:00 -04:00
Luke Shumaker 844d16ea85 fix gitref 2018-08-11 21:52:08 -04:00
Luke Shumaker 865edae814 fix 2018-08-11 18:46:04 -04:00
Luke Shumaker 6d472c31c8 fix 2018-08-11 17:38:08 -04:00
Luke Shumaker 4a5f7bda0e pull osi-mount out in to a separate command 2018-08-11 17:23:12 -04:00
Luke Shumaker 3303850314 more 2018-08-11 17:15:13 -04:00
Luke Shumaker ae58deb68a pull some things in to a library 2018-08-11 15:00:27 -04:00
Luke Shumaker eca51a2f17 stuff 2018-08-09 20:22:56 -04:00
Luke Shumaker 53817698fc fixup 2018-08-09 18:45:36 -04:00
Luke Shumaker 6e804bd782 tidy 2018-08-09 18:45:08 -04:00