Commit Graph

57 Commits

Author SHA1 Message Date
Peter Šurda 8c58dcbd70
fix: remove empty function 2021-03-05 22:04:09 +01:00
Peter Šurda b69f341b89
fix: sleeping and missing ~/Downloads folder 2021-03-05 21:46:38 +01:00
Peter Šurda e102469a54
feat: allow multiple drives 2021-03-04 15:36:22 +01:00
Peter Šurda d93357cadb
fix: sleep after dd to allow partition table reread 2021-03-03 12:32:18 +01:00
Peter Šurda dda63f7ce1
fix: syslinux install order 2021-03-03 12:30:15 +01:00
Peter Šurda c4544b24a5
feat: allow custom MaaS download base URL 2021-03-03 12:21:27 +01:00
Peter Šurda e778036d97
fix: sleep differently 2021-03-03 10:50:11 +01:00
Peter Šurda e606519a4c
fix: syslinux menu PARTLABEL 2021-03-03 00:29:56 +01:00
Peter Šurda 22d48e13bc
fix: detecting version files 2021-03-02 23:54:35 +01:00
Peter Šurda a4a3250aa7
fix: kernel filename fix 2021-03-02 23:15:02 +01:00
Peter Šurda 6ff02db2d2
fix: sleep at a different spot 2021-03-02 22:15:19 +01:00
Peter Šurda 390e60e1e5
fix: wait differently 2021-03-02 22:04:16 +01:00
Peter Šurda 99ad40dd5b
fix: wait until kernel reloads partition table 2021-03-02 22:02:55 +01:00
Peter Šurda 0bc18b7991
fix: correct partition for calling syslinux 2021-03-02 21:59:35 +01:00
Peter Šurda e859cea4ee
fix: install syslinux if missing 2021-03-02 21:57:06 +01:00
Peter Šurda 665ef66e29
fix: install syslinux if missing 2021-03-02 21:55:35 +01:00
Peter Šurda 0042dce624
fix: typo 2021-03-02 21:53:36 +01:00
Peter Šurda 62d4a411dd
fix: install_syslinux wasn't called 2021-03-02 21:51:57 +01:00
Peter Šurda 0b8f5982f4
fix: ordering, paths 2021-03-02 21:20:17 +01:00
Peter Šurda 1ec42b9c79
fix: create missing directories 2021-03-02 20:33:48 +01:00
Peter Šurda f41bf09a62
fix: make image directory, cleanup 2021-03-02 20:00:26 +01:00
Peter Šurda df37ee455a
fix: download path, typos, cq 2021-03-02 18:56:20 +01:00
Peter Šurda ffbf818c97
fix: typos, checksum, ordering 2021-03-02 17:00:17 +01:00
Peter Šurda a05d8e637b
fix: typo 2021-03-02 15:57:50 +01:00
Peter Šurda 95f85da5b4
fix: array iteration 2021-03-02 15:52:44 +01:00
Peter Šurda 51b53bd19a
fix: file rename 2021-03-02 15:49:39 +01:00
Peter Šurda 64f431e4e5
fix: missing imports 2021-03-02 15:47:16 +01:00
Peter Šurda 83b34cff5d
fix: missing files and permissions 2021-03-02 15:45:59 +01:00
Peter Šurda b17988134b
feat: high leve functions for install and update 2021-03-02 14:39:19 +01:00
Peter Šurda ef7291d9b8
feat: add and update syslinux 2021-03-02 12:12:10 +01:00
Peter Šurda ded9b60bf7
fix: unused partition version 2021-02-28 10:06:46 +01:00
Peter Šurda 0b1e670d88
perf: remove unnecessary packages from travis config 2021-02-28 10:04:11 +01:00
Peter Šurda 66012a64b6
fix: don't list versions of unused partitions 2021-02-28 10:02:59 +01:00
Peter Šurda da6118b6a0
fix: find_oldest and find_newest fixes 2021-02-28 09:58:49 +01:00
Peter Šurda 53450aaf5f
fix: awk fixes
- find_oldest and find_newest weren't using awk properly
2021-02-28 09:48:57 +01:00
Peter Šurda 06a29c2dfa
add: more verbosity for drive tests 2021-02-28 09:40:32 +01:00
Peter Šurda 2b7647b56d
fix: version_from_partnum fix 2021-02-28 09:35:39 +01:00
Peter Šurda 0ffaf3c6e7
fix: some test fix 2021-02-28 09:31:56 +01:00
Peter Šurda d691022aef
fix: typos and backwards compatibility
- forgot again assertContains isn't supported on bionic's shunit2
2021-02-28 09:28:37 +01:00
Peter Šurda 586cccf0d4
add: more partition related functions
- drive_list
- partition_list
- find_unused
- find_oldest
- find_newest
- version_from_partnum
2021-02-28 09:22:13 +01:00
Peter Šurda 59fae65452
feat: add leagacy boot support 2021-02-27 09:54:31 +01:00
Peter Šurda ecdd85e5fe
feat: add syslinux config files
- remove old one that wasn't useful
2021-02-27 09:47:46 +01:00
Peter Šurda b0e6ce8c1b
test: add partition rename test 2021-02-26 22:46:54 +01:00
Peter Šurda 5a95731305
test: add assert to parted test 2021-02-26 22:41:37 +01:00
Peter Šurda 2f16330445
fix: use sudo differently
- try to run the whole `drive` test in sudo instead of just individual
  commands
2021-02-26 22:36:16 +01:00
Peter Šurda d34ff41d97
fix: use sparse loopback file instead of qcow2
- no nbd module in kata so can't use qemu-nbd
2021-02-26 22:33:33 +01:00
Peter Šurda 722fb00d52
fix: add kernel modules to travis config 2021-02-26 22:23:07 +01:00
Peter Šurda 7ac8630a57
add: partitioning functionality 2021-02-26 22:19:36 +01:00
Peter Šurda 6e8fc65465
fix: json mime type on bionic 2021-02-26 22:10:58 +01:00
Peter Šurda fcf8687060
test: try file on json sample 2021-02-26 21:47:50 +01:00