Commit Graph

33 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 0e844ccffa fix inject-subiquity-snap.sh now that installer overlay does not necessarily contain core snap 2018-12-19 12:23:05 +13:00
Dimitri John Ledkov 5041731ff7 scripts: add s390x support to inject-subiquity-snap 2018-11-23 01:45:15 +00:00
Michael Hudson-Doyle 0457985208 fixup tests 2018-07-11 14:55:41 +12:00
Michael Hudson-Doyle 569700864a a guided option that uses LVM 2018-07-07 21:41:30 +12:00
Michael Hudson-Doyle 32b7d785cd answers support for lvm and some related fixes 2018-07-07 20:59:47 +12:00
Michael Hudson-Doyle 1cdfea174d add some validation of curtin config generated from answers 2018-06-19 11:43:59 +12:00
Scott Moser af94275618 Make tox and Makefile more similar.
This does a few things with the end goal of making simplifying and
making consistent tox and 'make' methods of test or check.

Things here:
 * move python programs out of bin and into their own main.  Use
   entry_points to get scripts written for them.  One gain here is
   that we no longer have python programs that are not named .py.
   flake8 and friends would not check those programs by default.
 * install scripts in bin/ using the setup.py scripts and adjust
   snapcraft.yaml and debian packaging for that.
 * declare and use PYTHON in Makefile to avoid repeating 'python3'
 * declare and use CHECK_DIRS in Makefile for list of dirs to check.
 * no longer run 'flake8' from 'make check' by default.
 * remove the old tests/ directory.
2018-06-05 22:19:17 -04:00
Michael Hudson-Doyle 43f581bca4 update travis jobs: test on cosmic, run make lint 2018-05-25 10:56:01 +12:00
Ryan Harper 5f8b562361 Add bin/*tui to pyflakes3 check 2018-05-24 16:59:31 -05:00
Ryan Harper 879901149f Add bin/*-tui to pep8 checks 2018-05-24 16:59:31 -05:00
Ryan Harper acd24c0796 Add pep8 script 2018-05-24 16:51:51 -05:00
Ryan Harper a0bf68f3c4 pyflakes3 fixes
Add and enable pyflakes3 on console_conf, subiquity, subiquitycore and tests.
Replace NOQA markers with __all__ declarations for module imports.
Replace some obvious deadcode that voilates flake8, separate pass for removing
dead code rather than commenting will be handled later.
2018-05-24 16:51:51 -05:00
Ryan Harper 0849db7c14 Add pyflakes3 target and script 2018-05-24 16:51:49 -05:00
Michael Hudson-Doyle a35723089d a simple script to put the edge subiquity snap into a new iso 2018-03-14 15:25:53 +13:00
Michael Hudson-Doyle 6b156766bb change replay-curtin-log to give a more realistic experience in dry-run mode 2018-02-28 15:57:35 +13:00
Michael Hudson-Doyle ef0632175b use a different syslog identifier for each subiquity process 2018-02-28 13:49:24 +13:00
Michael Hudson-Doyle f7a93e6d1b move to running tests in lxd rather than docker
other work requires having systemd running
2018-02-28 13:42:47 +13:00
Michael Hudson-Doyle 05c5f4218a make log replay timescale adjustable
want to be able to slow it down when hacking on the log view!
2018-02-12 14:44:40 +13:00
Michael Hudson-Doyle 1a939844fb use the journald event reporter that is now part of curtin 2018-02-12 13:37:00 +13:00
Michael Hudson-Doyle 2779bac01a change the log replayer to be more realistic 2018-02-12 13:30:00 +13:00
Michael Hudson-Doyle aa509d317a make it easier to replace the squashfses in an iso 2017-12-21 14:04:17 +13:00
Michael Hudson-Doyle 2eba19e5de mostly pointless tweaking of inject-subiquity-snap 2017-12-21 12:02:08 +13:00
Michael Hudson-Doyle bfe374f96e tidy up inject-this-snap with some bashisms 2017-12-19 16:03:53 +13:00
Michael Hudson-Doyle 168d372e68 allow editing filesystem.squashfs with inject-subiquity-snap 2017-12-19 15:51:39 +13:00
Michael Hudson-Doyle 3bad7e1295 add -c option to inject-subiquity-snap.sh too 2017-11-17 12:34:23 +13:00
Michael Hudson-Doyle 5d65ab88ab add -i flag to inject-subiquity-snap.sh to allow random edits of iso 2017-11-17 10:25:08 +13:00
Michael Hudson-Doyle ca631ab9c1 inject-subiquity-snap.sh: fix perms in generated installer.squashfs
this makes the generated ISOs boot again.
2017-11-10 15:37:24 +13:00
Michael Hudson-Doyle d756596093 hook up curtin's event reporting into journald and watch these messages during install 2017-09-18 22:50:00 +12:00
Michael Hudson-Doyle fae35af6ee fix subquity -> subiquity typos, including in script name 2017-08-23 10:26:09 +12:00
Michael Hudson-Doyle a94f0f2f43 add another helper script 2017-08-23 10:20:44 +12:00
Michael Hudson-Doyle 64b420111e move instructions from script to README 2017-08-22 12:18:59 +12:00
Michael Hudson-Doyle ce3ce3cb3e update README.md 2017-08-22 12:05:08 +12:00
Michael Hudson-Doyle eec72a34a6 add script to inject custom subiquity snap into downloaded iso 2017-08-22 12:02:33 +12:00