summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-17debvm-create: use maybe-merged-usr hookHelmut Grohne
Requires mmdebstrap >= 1.3.0 Closes: #8
2023-01-17debvm-create: defer kernel selection to aptHelmut Grohne
This requires mmdebstrap >= 1.3.0. Closes: #9
2023-01-15Merge branch 'drop_mirror' into 'main'Helmut Grohne
Drop mirror option See merge request helmutg/debvm!24
2023-01-15debvm-create: update documentation for dropped mirror optionHelmut Grohne
2023-01-15debvm-create: actually drop -m from the getopts invocationHelmut Grohne
Fixes: 7a2b46697659 ("Drop mirror option")
2023-01-15debvm-create: carefully handle a -o filename starting with a dashHelmut Grohne
2023-01-15Merge support_boot into mainHelmut Grohne
Closes: !23
2023-01-15debvm-run: fix logic inversion in parent commitHelmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-15debvm-run: fix for relative symlinks below boot/Helmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2023-01-15Apply 1 suggestion(s) to 1 file(s)Johannes Schauer Marin Rodrigues
2023-01-15Drop mirror optionJochen Sprickerhof
It is not needed and can also be done with: debvm-create -- "deb http://ftp.de.debian.org/debian/ unstable main"
2023-01-15README.md: fix typoHelmut Grohne
2023-01-15debvm-run: guess the location of the kernelHelmut Grohne
2023-01-15Document additional kernel link namesJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2023-01-15Avoid unnecessary debugfs callJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2023-01-15Support kernel links in /boot (Ubuntu)Jochen Sprickerhof
2023-01-15Merge branch 'helmut' into 'main'Helmut Grohne
reduce usage of DEBVER See merge request helmutg/debvm!22
2023-01-13change cmdline variable debvm.term to TERMHelmut Grohne
Jochen Sprickerhof found that systemd interprets the TERM variable according to our intended meaning and applies it to pid 1. It doesn't apply it to serial-getty, though so we keep that code for now.
2023-01-13debvm-create: remove --package optionHelmut Grohne
This option was meant to make it convenient to add packages, but mmdebstrap's --include provides the same convenience at more flexibility. You can provide apt patterns there provided that you use multiple --include options. So rather than duplicate this functionality under a different name, just refer to mmdebstrap thus reinforcing the notion of being a thin wrapper. This also removes the convenience of overriding the kernel image. You need to use --skip=kernel when passing --include=linux-image-something to mmdebstrap now. This implements "explicit is better than implicit".
2023-01-13Merge branch main into helmutHelmut Grohne
Resolve conflicts in debvm-create arising from adding --skip and moving the functionality to be skipped to share/customize-*.sh.
2023-01-13Merge branch 'skip' into 'main'Helmut Grohne
debvm-create: add a --skip option See merge request helmutg/debvm!21
2023-01-13debvm-create: add --skip=kernelHelmut Grohne
2023-01-13debvm-create: defer the decision of installing libnss-resolve to aptHelmut Grohne
Rather than check the DEBVER, let apt figure out whether it knows about a package called libnss-resolve and install it when available.
2023-01-13automatically set up agetty TERM when possibleHelmut Grohne
* debvm-create will now parse a new kernel cmdline debvm.term and if present will pass its value to agetty as TERM. * debvm-run will now detect whether it is running in a terminal in non-graphic mode and pass its environment TERM variable as debvm.term to the kernel cmdline thus closing the loop.
2023-01-12debvm-create: also move dpkg's available database to a hook fileHelmut Grohne
2023-01-11debvm-create: move functionality into support filesHelmut Grohne
The benefit of this change is that we don't have to escape that much. As a consequence, it becomes easier to put more code into the customization hooks, which have access to installed package versions. Thus we can reduce the use of DEBVER and thus improve working with snapshot.d.o.
2023-01-11CI: attempt to fix by not using a relative path in $PATHHelmut Grohne
2023-01-11Merge branch main into skipHelmut Grohne
Resolve conflicts in the documentation of debvm-create.
2023-01-11debvm-run: fix typo in error pathHelmut Grohne
2023-01-11move the debvm-* tools to binHelmut Grohne
The purpose of this change is adding support files to be referenced and called from these tools. Those support files shall be located in ../share and this way of locating them shall work both in-source and when installed.
2023-01-08Merge branch 'faq' into 'main'Helmut Grohne
Add FAQ to debvm-run See merge request helmutg/debvm!19
2023-01-08Add FAQ to debvm-runJochen Sprickerhof
2023-01-08debvm-create: automatically log in on serial gettyHelmut Grohne
2023-01-08Merge branch 'josch' into 'main'Johannes Schauer Marin Rodrigues
some debvm-waitssh improvements See merge request helmutg/debvm!18
2023-01-08debvm-waitssh: remove redundant adjective 'positive' from error messageJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: don't apply -q to usage errors and further port checkHelmut Grohne
2023-01-08debvm-waitssh: bad usage should result in exit 2Helmut Grohne
2023-01-08debvm-waitssh: standardize option parserHelmut Grohne
An option --foo is handled by opt_foo.
2023-01-08debvm-waitssh: error out if hostname contains @ characterJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: error out if port number is not a positive integerJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: output error message if timeout is reachedJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: add --quiet optionJohannes Schauer Marin Rodrigues
2023-01-08debvm-create: allow skipping the usrmerge hookHelmut Grohne
2023-01-07use more perlpod formatting codesHelmut Grohne
2023-01-07debvm-create: allow skipping package listsHelmut Grohne
2023-01-07Merge branch 'josch' into 'main'Helmut Grohne
debvm-run: add an example (I always forget about the -snapshot option) See merge request helmutg/debvm!17
2023-01-07Merge branch 'waitssh' into 'main'Helmut Grohne
add tool debvm-waitssh See merge request helmutg/debvm!16
2023-01-07debvm-run: add an example (I always forget about the -snapshot option)Johannes Schauer Marin Rodrigues
2023-01-04debvm-create: add a --skip optionHelmut Grohne
As with mmdebstrap, the --skip option can be used to skip over tasks that are enabled by default. For now, we just add an integration for
2023-01-04Merge branch 'user' into 'main'Helmut Grohne
add useraddhook/customize.sh See merge request helmutg/debvm!15