summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-01lbu: fix import of libalpine.sh for testsNatanael Copa
2022-06-28lbu: add test for add/deleteNatanael Copa
2022-06-28lbu: add test for lbu list usageNatanael Copa
2022-06-28lbu: add test for lbu diff usageNatanael Copa
2022-06-28lbu: add tests for lbu exclude usageNatanael Copa
2022-06-28lbu: add test for lbu commit usageNatanael Copa
2022-06-28lbu: add test for lbu include usageNatanael Copa
2022-06-28tests: fix test_usage to accept sub commandsNatanael Copa
so we can test things like `lbu commit`
2022-06-28lbu: fix usage for top levelNatanael Copa
2022-06-28setup-user: exit with error if unlocking user failsNatanael Copa
fixes commit 60c9392b6419 (Add -u unlock command to setup-user)
2022-06-28tests: add test for setup-user -uNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72
2022-06-28Add -u unlock command to setup-userShaRose
Copied from github PR, but add -u so that you can include to forcably unlock the user after creation. Useful for when you want to create a user automatically so they can log in using a passed SSH key (-k), but without a password so they can set up a password after connecting.
2022-06-28tests: setup-disk: add test for -m noneNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/75
2022-06-28setup-disk: Die if disklessShaRose
If you pass -m none, just return immediately: For non-interactive diskless setups.
2022-06-28tests: setup-keymap: add test for non-interactive 'none'Natanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/71
2022-06-28setup-keymap: accept 'none' as LAYOUTAlex Sivchev
This allows selecting 'none' via KEYMAPOPTS in answer file.
2022-06-28tests: setup-user: add test for -k optNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70
2022-06-28setup-user: fix non-interactive handling of ssh keys urlMaxim Karasev
The script referenced the wrong variable.
2022-06-28tests: make fake wget to error on missing/or empty urlNatanael Copa
2022-06-28tests: do not run atf_check in a subshellNatanael Copa
We can not pipe to atf_shell as it will make it run in a subshell and will not handle failures properly. Fixes commit ab67ab0733c2 (setup-proxy: fix empty proxy)
2022-06-28gitignore: setup-userNatanael Copa
2022-06-28setup-proxy: fix empty proxypsykose
the while loop loops until the value of proxyurl is none or a http*:// scheme. however, when proxyurl is set to 'none', it then gets unset here (`proxyurl= ;`), but the following `if` block checks if it is 'none' and fails, so we configure an empty http_proxy= in the proxy.sh profile script. this is then read by some software, and it causes it to crash. for instance, flatpak via glib reads `http_proxy` from the environment, and an empty variable is illegal.
2022-05-27==== release 3.14.2 ====Natanael Copa
2022-05-25setup-disk: use logical_block_size to calculate ESP sizeNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13839
2022-05-25setup-disk: fix whitespace errorNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
2022-05-24setup-sshd: fix backwards compat with -cNatanael Copa
Do not enter interactive mode if -c was set, for backwards compatiblity.
2022-05-24setup-xen-dom0: add testNatanael Copa
2022-05-23Add license fileNatanael Copa
2022-05-23==== release 3.14.1 ====Natanael Copa
2022-05-23setup-desktop: mention plasma in usage textNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10513
2022-05-23setup-sshd: fix root login without ssh keyNatanael Copa
2022-05-23tests: add a fake openrcNatanael Copa
setup-alpine conditionally runs some parts depending on `openrc --sys` output. Add a fake openrc so we can test this in the future. This also fixes the CI which may not have openrc installed.
2022-05-23==== release 3.14.0 ====Natanael Copa
2022-05-23make: rename 'test' target to add 'check'Natanael Copa
2022-05-23setup-alpine: add simple test for quick installNatanael Copa
2022-05-23setup-{acf,interfaces}: use rc-serivce instead of /etc/init.dNatanael Copa
This makes it possible to test the scripts
2022-05-23setup-alpine: rely on PATH for testingNatanael Copa
Assume that PATH is set up properly for testing. This makes it possible to test setup-alpine without installing it with the sbin prefix.
2022-05-23setup-alpine: cleanup: remove use of NOCOMMITNatanael Copa
this was (presumabely) originally intended for testing. We use MOCK instead nowdays.
2022-05-23setup-alpine: don't ask for keymap from serial consoleNatanael Copa
Only ask user for keymap from virtual consoles.
2022-05-23setup-disk: retry on password mismatchNatanael Copa
Retry create luks device if the entered password does not match rather than exit with error. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10514
2022-05-23setup-disk: fail early on partition failureNatanael Copa
Fail early if disk is too small or similar
2022-05-23tests: setup-user: add test for suggested ssh key urlNatanael Copa
2022-05-21release 3.14.0_rc8Natanael Copa
2022-05-21setup-user: add magic keywords for fetching ssh keysNatanael Copa
Use al, gh, and gl as magic keywords to suggest url for shs key
2022-05-21release 3.14.0_rc7Natanael Copa
2022-05-21setup-sshd: dont ask for root login if user was createdNatanael Copa
Don't ask about root login if a user account was created
2022-05-21setup-sshd: refactorNatanael Copa
Ask for ssh key in separate question unless PermitRootLogin was set to no.
2022-05-21tests: fix interactive testNatanael Copa
apparently atf_check can not run in a subshell so we can not pipe the input. Use a temp file for the answers instead
2022-05-21setup-sshd: improve openssh configurationNatanael Copa
Add a '?' option for help Add magic keywords 'al|gh|gl <user>' to suggest gitlab.alpinelinux.org, github.com or gitlab.com URL to user's key. This is to conveniently fetch ssh keys without needing to type long URLs.
2022-05-21setup-user: fix typoNatanael Copa