Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-13 | tests: add test for setup-lbu | Natanael Copa | |
2022-05-13 | setup-lbu: create media directory relative ROOT | Natanael Copa | |
2022-05-13 | setup-lbu: fix usage help text | Natanael Copa | |
2022-05-13 | tests: add test for openntpd | Natanael Copa | |
2022-05-13 | setup-ntp: fix usage, and drop -c option | Natanael Copa | |
Let -h return success instead of error. Send usage help to stderr on errors. Use argument instead of option to set the NTP client non-interactivey and make sure it doesn't block. Give proper error message if uinsupported client is specified | |||
2022-05-13 | setup-ntp: only send usage help on error | Natanael Copa | |
send -h to stdout | |||
2022-05-12 | update-kernel.in: pass kernel version to modinfo | Dermot Bradley | |
When modinfo is called to determine firmware ensure the installed kernel version is used, not the running kernel version. Busybox's modinfo recently had "-k" supported added to it. | |||
2022-05-12 | tests: add a few tests for update_kernel | Natanael Copa | |
2022-05-12 | update-kernel: fix usage help text | Natanael Copa | |
send it to stdout with -h | |||
2022-05-12 | Add gitlab CI pipeline | Natanael Copa | |
2022-05-12 | tests: add the missing test_env.sh | Natanael Copa | |
it was missed due to the *.sh in .gitignore | |||
2022-05-12 | tests: setup-proxy: whitespace | Natanael Copa | |
2022-05-12 | tests: add tests for setup-proxy | Natanael Copa | |
2022-05-12 | setup-proxy: fix removal of proxy with 'none' | Natanael Copa | |
Make sure that we remove the proxy with setup-proxy none. Also allow https proxies while at it and mock wget for testing | |||
2022-05-12 | setup-proxy: fix usage | Natanael Copa | |
print usage help text to stderr on invalid option | |||
2022-05-12 | tests: add test for setup-timezone | Natanael Copa | |
2022-05-12 | setup-timezone: fix usage, drop -z option from help | Natanael Copa | |
2022-05-12 | tests: setup-dns add tests for non-interactive | Natanael Copa | |
2022-05-12 | setup-dns: don't prompt for search domain when in non-interactive mode | Natanael Copa | |
2022-05-12 | tests: add simle test for setup-dns | Natanael Copa | |
2022-05-12 | setup-dns: fix exitstatus and usage text for -h | Natanael Copa | |
send usage to std err on invalid option exit with success with -h | |||
2022-05-12 | tests: setup-hostname: add tests for invalid names | Natanael Copa | |
2022-05-12 | setup-hostname: send erro messages to stderr | Natanael Copa | |
2022-05-12 | tests: refactor to de-duplicate code | Natanael Copa | |
Have a shared test_env.sh to de-duplicate code. Add a common test_usage, where we test that: - option -h prints to stdout and exit with success - invalid option prints usage to stderr and exit with error Use a common init_tests and a common atf_init_test_cases Move documenation links to README.md | |||
2022-05-12 | setup-sshd: print usage on invalid option | Natanael Copa | |
2022-05-12 | setup-keymap: print usage on invalid option to stderr | Natanael Copa | |
2022-05-12 | setup-inerfaces: fix usage, make testable | Natanael Copa | |
exit with success with -h send usage text to stderr when invalid option is passed | |||
2022-05-12 | setup-hostname: show usage on stderr on invalid option | Natanael Copa | |
2022-05-12 | tests: move atf_init_test_cases to the top | Natanael Copa | |
Makes it more visible. | |||
2022-05-12 | tests: add test for setup-devd | Natanael Copa | |
only test the help text for now | |||
2022-05-12 | setup-devd: fix usage text | Natanael Copa | |
remove the prog prefix so we are consistent with the other scripts. | |||
2022-05-12 | setup-devd: make script testable, fix -h usage option | Natanael Copa | |
Don't exit with error with -h specified. Send usage text to stderr when there is a bad option | |||
2022-05-12 | setup-devd: don't install non-existing mdev-openrc | Natanael Copa | |
The mdev script is provided by busybox-initscripts | |||
2022-05-12 | setup-keymap: add help text. make script testable | Natanael Copa | |
2022-05-12 | Generate the Kyuafiles from makefile | Natanael Copa | |
2022-05-11 | tests: rename help with usage | Natanael Copa | |
2022-05-11 | tests: add tst for setup-hostname | Natanael Copa | |
only test the -h help text for now | |||
2022-05-11 | setup-hostname: -h does not return error | Natanael Copa | |
running -h should return success Hide -n from help test, as it is not encouraged, but we keep it for backwards compat. | |||
2022-05-11 | tests: setup-sshd: add test for interactive questions | Natanael Copa | |
2022-05-11 | setup-sshd: prefix sshd_config with $ROOT | Natanael Copa | |
So we can run tests | |||
2022-05-11 | tests: setup-sshd: move PATH to init_env, add refs to docs | Natanael Copa | |
2022-05-11 | tests: add test for setup-sshd openssh | Natanael Copa | |
Also set timout to 1 second so we can catch unexpected interactive questions. | |||
2022-05-11 | setup-sshd: mock fetching ssh key | Natanael Copa | |
and improve error message a bit | |||
2022-05-11 | setup-sshd: dont ask for root logins if key is given | Natanael Copa | |
2022-05-11 | tests: add testing with kyua | Natanael Copa | |
Use kyua to do testing. | |||
2022-05-11 | setup-sshd: make it possible to do unit testing | Natanael Copa | |
2022-05-11 | setup-sshd: take ssh implementation as arg instead of -c option | Natanael Copa | |
This is similar to what we do on other setup-* scripts. Keep the -c for backwards compat for now. | |||
2022-05-10 | setup-sshd: ask for allow root logins | Natanael Copa | |
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10504 | |||
2022-05-10 | setup-disk: honor BOOT_SIZE env var for EFI install | Natanael Copa | |
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10512 | |||
2022-05-07 | setup-apkcache: remove noauto mount option | Natanael Copa | |
setup-lbu will add noauto, which makes sense when there is no apk cache. But when we have apk cache enabled, we want the media where it is stored to be mounted during boot so the apk cache works. So we strip the noauto mount option. |