Luke Shumaker
6fc3d79827
osi-shell: Allow setting qemu args
2018-08-16 17:20:19 -04:00
Luke Shumaker
814fb5a60d
get at least a few of the integration tests passing
2018-08-16 15:58:39 -04:00
Luke Shumaker
77bf673550
osi-shell: Use VNC to hide the window
2018-08-16 14:47:56 -04:00
Luke Shumaker
1bb26b9161
runtests: Install packages as part of integration-tests.raw, not .log
2018-08-16 14:40:23 -04:00
Luke Shumaker
8d864769fe
runtests: Fixup quoting
...
Only in the integration-tests.log does it make a difference, though.
2018-08-16 14:39:08 -04:00
Luke Shumaker
81961a850b
runtests: run the stock integration tests
2018-08-16 02:02:25 -04:00
Luke Shumaker
7e6b34c552
osi-mk: fix
...
"Ignore space change" will be useful
2018-08-16 02:00:07 -04:00
Luke Shumaker
4412eedf45
runtests: ensure .log files are newer than .raw files
2018-08-16 01:48:43 -04:00
Luke Shumaker
cabd888978
runtests: shrink sizes of images
2018-08-16 01:48:21 -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
904d2c43e1
runtests: Tidy
...
- format the base.raw rule more like the other rules
- drop the `script` bits to simulate a TTY, osi-shell runs things with a
TTY
2018-08-15 15:10:40 -04:00
Luke Shumaker
b5dfd387ba
osi-mk.d: dhcpcd: Avoid TLS failures
2018-08-15 15:05:16 -04:00
Luke Shumaker
9aa93cbd17
abs/: sync with abslibre
2018-08-15 11:42:31 -04:00
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