Age | Commit message (Collapse) | Author |
|
option --quiet has no optarg so we should not shift.
|
|
Allow disable bootloader install
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10526
|
|
|
|
also add a convenience function to create fake binaries.
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/136
|
|
|
|
ref: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10548
ref: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/137
|
|
|
|
|
|
We may call openrc with `-n`
|
|
Try autodetect the EFI directory instead of hardcoding it to /boot/efi.
This is needed when /boot is the EFI directory and no encryption is
used.
|
|
|
|
So we can re-use it
|
|
useful for `lbu package`
|
|
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10542
|
|
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10542
|
|
|
|
|
|
Makes no sense to combine them
|
|
|
|
when piping the mirror list to `more` the mirror_count is set in a
subshell and will end up unset.
fixes error when selecting random mirror:
/sbin/setup-apkrepos: line 31: arithmetic syntax error
fixes commit 860b7271232a (APK Repo Setup)
|
|
|
|
verify that LABEL= is added to fstab
|
|
|
|
This works around issue where /root might get world rx permissions.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10532
|
|
|
|
|
|
Some brcm firmwares uses a glob. Fix this and add tests to verify that
it works as expected.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10533
|
|
|
|
Needed to test that we get the proper firmware included in modloop with
update-kernel
|
|
We need this to test what we get into modloop in update-kernel
|
|
also fix so we can join networks without PSK
filter out hidden (\x00) SSIDs
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10518
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10475
|
|
|
|
|
|
and add test from missing block device
|
|
|
|
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10538
|
|
Skip user creation if username is 'none' and no other options are set.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10528
|
|
The mdev init script isn't guaranteed to be there anymore;
we explicitly add the busybox-mdev-openrc package when choosing
mdev as our device manager.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
|
|
we should stop and disable hwdrivers when we stop and disable mdev
ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/14046
|
|
|
|
setup-alpine checks SSH_CONNECTION. Make sure to clear it when running
tests so tests does not fail when we run the testsuite over ssh.
|
|
Avoid restart network when running over ssh. hostname is now a
dependency of networking so openrc will restart networking together with
hostname, which may lead to disconnection when running over ssh.
Solve this by only restart hostname if SSH_CONNECTION is empty.
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/14018
|
|
so we can verify that service was started when it should and not started
when it shouldn't.
|
|
|
|
|
|
Follow up to the follow up (87e374fd, a91180af).
Commit dfd40992 also affects ~/.ssh, so test its permissions too.
|
|
follow up to commit dfd40992e173 (setup-sshd, setup-user: follow
openssh permission recommendations)
|
|
follow up to commit dfd40992e173 (setup-sshd, setup-user: follow
openssh permission recommendations)
|
|
Be more strict in checking the contents of files by matching against the
whole line. This prevents tests from passing with extraneous leading or
trailing characters, or partial paths matching in lbu.list.
|