summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-13setup-ntp: fix usage, and drop -c optionNatanael 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-13setup-ntp: only send usage help on errorNatanael Copa
send -h to stdout
2022-05-12update-kernel.in: pass kernel version to modinfoDermot 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-12tests: add a few tests for update_kernelNatanael Copa
2022-05-12update-kernel: fix usage help textNatanael Copa
send it to stdout with -h
2022-05-12Add gitlab CI pipelineNatanael Copa
2022-05-12tests: add the missing test_env.shNatanael Copa
it was missed due to the *.sh in .gitignore
2022-05-12tests: setup-proxy: whitespaceNatanael Copa
2022-05-12tests: add tests for setup-proxyNatanael Copa
2022-05-12setup-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-12setup-proxy: fix usageNatanael Copa
print usage help text to stderr on invalid option
2022-05-12tests: add test for setup-timezoneNatanael Copa
2022-05-12setup-timezone: fix usage, drop -z option from helpNatanael Copa
2022-05-12tests: setup-dns add tests for non-interactiveNatanael Copa
2022-05-12setup-dns: don't prompt for search domain when in non-interactive modeNatanael Copa
2022-05-12tests: add simle test for setup-dnsNatanael Copa
2022-05-12setup-dns: fix exitstatus and usage text for -hNatanael Copa
send usage to std err on invalid option exit with success with -h
2022-05-12tests: setup-hostname: add tests for invalid namesNatanael Copa
2022-05-12setup-hostname: send erro messages to stderrNatanael Copa
2022-05-12tests: refactor to de-duplicate codeNatanael 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-12setup-sshd: print usage on invalid optionNatanael Copa
2022-05-12setup-keymap: print usage on invalid option to stderrNatanael Copa
2022-05-12setup-inerfaces: fix usage, make testableNatanael Copa
exit with success with -h send usage text to stderr when invalid option is passed
2022-05-12setup-hostname: show usage on stderr on invalid optionNatanael Copa
2022-05-12tests: move atf_init_test_cases to the topNatanael Copa
Makes it more visible.
2022-05-12tests: add test for setup-devdNatanael Copa
only test the help text for now
2022-05-12setup-devd: fix usage textNatanael Copa
remove the prog prefix so we are consistent with the other scripts.
2022-05-12setup-devd: make script testable, fix -h usage optionNatanael Copa
Don't exit with error with -h specified. Send usage text to stderr when there is a bad option
2022-05-12setup-devd: don't install non-existing mdev-openrcNatanael Copa
The mdev script is provided by busybox-initscripts
2022-05-12setup-keymap: add help text. make script testableNatanael Copa
2022-05-12Generate the Kyuafiles from makefileNatanael Copa
2022-05-11tests: rename help with usageNatanael Copa
2022-05-11tests: add tst for setup-hostnameNatanael Copa
only test the -h help text for now
2022-05-11setup-hostname: -h does not return errorNatanael 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-11tests: setup-sshd: add test for interactive questionsNatanael Copa
2022-05-11setup-sshd: prefix sshd_config with $ROOTNatanael Copa
So we can run tests
2022-05-11tests: setup-sshd: move PATH to init_env, add refs to docsNatanael Copa
2022-05-11tests: add test for setup-sshd opensshNatanael Copa
Also set timout to 1 second so we can catch unexpected interactive questions.
2022-05-11setup-sshd: mock fetching ssh keyNatanael Copa
and improve error message a bit
2022-05-11setup-sshd: dont ask for root logins if key is givenNatanael Copa
2022-05-11tests: add testing with kyuaNatanael Copa
Use kyua to do testing.
2022-05-11setup-sshd: make it possible to do unit testingNatanael Copa
2022-05-11setup-sshd: take ssh implementation as arg instead of -c optionNatanael Copa
This is similar to what we do on other setup-* scripts. Keep the -c for backwards compat for now.
2022-05-10setup-sshd: ask for allow root loginsNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10504
2022-05-10setup-disk: honor BOOT_SIZE env var for EFI installNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10512
2022-05-07setup-apkcache: remove noauto mount optionNatanael 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.
2022-05-07setup-lbu: don't add APKOVL to fstab as read-onlyNatanael Copa
apk cache needs a writable, mounted partition to work. Adjust fstab accordingly.
2022-05-06==== release 3.14.0_rc1 ====Natanael Copa
2022-05-06setup-lbu: suggest LABEL=APKOVL and refactorNatanael Copa
Look fir a partition with the label APKOVL and prefer to use that if found.
2022-05-05setup-lbu: don't suggest any iso9660 for config storageNatanael Copa