summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-21setup-apkrepos: avoid run interactive with -r|-f|-1Natanael Copa
Avoid run interactive if the non-interactive modes fails
2022-11-21setup-apkrepos: make fastest/first/random options exclusiveNatanael Copa
Makes no sense to combine them
2022-11-21setup-apkrepos: add test for -1Natanael Copa
2022-11-21setup-apkrepos: fix mirror countingNatanael Copa
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)
2022-11-18==== release 3.15.0_rc3 ====Natanael Copa
2022-11-18setup-lbu: fix UUID= prefix in /etc/fstabNatanael Copa
2022-11-18setup-lbu: improve test coverageNatanael Copa
verify that LABEL= is added to fstab
2022-11-18tests: add fake findfs and blkid for testing setup-lbuNatanael Copa
2022-11-18Revert "setup-lbu: don't add APKOVL to fstab as read-only"Natanael Copa
ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14064 ref: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10531 This reverts commit 5427c716f6bee896942219cc7cee76eb07288e16.
2022-11-18setup-alpine: include /root instead of only authorized_keysNatanael Copa
This works around issue where /root might get world rx permissions. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10532
2022-11-17==== release 3.15.0_rc2 ====Natanael Copa
2022-11-17update-kernel: add mkinitfs.conf to testsNatanael Copa
2022-11-17ci: install squashfs-tools so we actually test update-kernelNatanael Copa
2022-11-17update-kernel: handle firmware files with spacesNatanael Copa
2022-11-17update-kernel: fix firmware inclusion in modloopNatanael Copa
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
2022-11-17update-kernel: add test to verify that firmware is includedNatanael Copa
2022-11-17tests: add fake modinfoNatanael Copa
Needed to test that we get the proper firmware included in modloop with update-kernel
2022-11-17tests: add fake apkNatanael Copa
We need this to test what we get into modloop in update-kernel
2022-11-17Revert "update-kernel: fix modloop construction"Natanael Copa
This was broken. ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/124#note_274593 This reverts commit 1e1ac71fc0e6efe8c6bacc5ff3ba6429a97330cd.
2022-11-17update-kernel: mock depmod and mkinitfsNatanael Copa
allow pass options for mksquashfs via MKSQUASHFS_OPTS. this will allow us to pass -info as option to test what gets included in the modloop.
2022-11-17update-kernel: rename ROOT -> ROOTFSNatanael Copa
we use ROOT for testsuite
2022-11-17setup-disk: fix partitioning failureEdin Taric
Previously, setup-disk could fail when installing over an existing identical partition table. The additions ensure that a clean disklabel is created and existing partitions are wiped. Signed-off-by: Edin Taric <unicorn@regrow.earth>
2022-11-15setup-interfaces: use iw instead of wireless-toolsNatanael Copa
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
2022-11-13setup-disk: increase default /boot size to 300MBNatanael Copa
Ref: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/106 Fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10476
2022-11-11==== release 3.15.0_rc1 ====Natanael Copa
2022-11-11setup-disk: add -w option for writing selected diskmodeNatanael Copa
Use an option to setup-disk to write the selected diskmode instead of using an undocumented /tmp/alpine-install-diskmode.out Adjust setup-alpine to use this, and make sure that we write the diskmode when installing to a mounted root. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10444
2022-11-11setup-disk: minor clean up of install to mounted rootNatanael Copa
Only give warning about MBR on x86 and x86_64 and when in legacy bios mode. (syslinux or grub). Make sure grub is installed if needed, by using select_bootloader_pkg.
2022-11-11setup-disk: ignore non-existing firmware packagesNatanael Copa
Some modules wants non-existing firmware like b43 and b43legacy fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10530
2022-11-11setup-alpine.in: only enable acpid if machine has input events entriesmacmpi
2022-11-11setup-disk: add tests for find_efi_sizeNatanael Copa
2022-11-11setup-disk: move calculation of EFI size to a functionJakub Jirutka
2022-11-11setup-disk: increase default boot partition size for EFIJakub Jirutka
Consider my laptop with linux-lts on UEFI with Secure Boot: System.map-lts.....4 MiB initramfs-lts.....36 MiB vmlinuz-lts........8 MiB linux-lts.efi.....44 MiB (signed Unified Kernel Image) linux-lts.efi.bak 44 MiB (backup of the previous) Total............136 MiB 256 MiB might be enough, but what if the user wants to experiment with more kernel variants? It would be still too tight. On the other side, if the user has only 1 GiB disk (e.g. ncopa uses 1GiB images for testing), then even 256 MiB would be too much. Originally, I just increased the default to 512 MiB, but ncopa pointed out that it's too much for small disks and he personally uses 1GiB disks (images) for testing. For this reason, I chose a more sophisticated approach that takes into account the size of the disk. * 512 MiB if disk > 8 GiB * 264 MiB if disk > 2 GiB * 160 MiB otherwise And the size is never lower than the approximate minimal allowed size of the FAT32 filesystem for the disk's block size (32 MiB for 512 bytes blocks, 260 MiB for 4096 bytes blocks). Issue reported by Andrey Maslyuk <andrey@maslyuk.net> (via email).
2022-11-11setup-disk: default block size to 512Jakub Jirutka
0 is not a safe fallback for a block size.
2022-11-11Add vmd to modules list when nvme is added to itDermot Bradley
VMD is Intel's Volume Management Device. Some Intel-based machines have a BIOS/UEFI option to present a NVME SSD via either VMD or as a "native" NVME device. If Alpine is installed on a NVME device when it is presented via VMD then once the Alpine ISO/USB boots the 'vmd' kernel module will be loaded by /etc/init.d/hwdrivers and Alpine will see a /dev/nvme0n1 device to which setup-alpine can install successfully. However, once the newly installed system is then booted from the NVME device the initramfs' init will fail to find the rootfs to mount/boot from as, without the 'vmd' module being loaded, no NVME device will be visible. This MR ensures that the 'vmd' kernel module is added to the cmdline modules list whenever the 'vmd' has been automatically loaded by hwdrivers init.d when booting Alpine prior to running setup-alpine/setup-disk. This MR works together with https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/112 (which ensures that 'vmd' present in the initramfs).
2022-11-11make: increase test timeoutNatanael Copa
soem disk operations takes more time apparently
2022-11-11ci: add sfdisk and opensslNatanael Copa
some of the tests uses those
2022-11-11setup-disk: add tests for find/setup_partitionsNatanael Copa
2022-11-11Make dir $mnt/boot before writing files to itThomas Zeman
2022-11-10setup-disk: avoid basism parameter expansionNatanael Copa
fixes use with yash.
2022-11-09setup-disk: fix typo in error messageNatanael Copa
and add test from missing block device
2022-11-09setup-disk: mock swapoff and vgchangeNatanael Copa
we dont dont that for real when testing
2022-11-09setup-disk: refactor and test find_disksNatanael Copa
2022-11-09setup-disk: env SETUP_DISK_TESTFUNC for unit testingNatanael Copa
Use an env var SETUP_DISK_TESTFUNC to run individual functions for unit testing purposes.
2022-11-09setup-disk: remove unused is_vmware functionNatanael Copa
not used since commit 427a14cb8d80 (setup-disk: remove grsec traces)
2022-11-09setup-disk: prefix $ROOT/sysNatanael Copa
prefix /sys/... with $ROOT so we can test it
2022-11-08setup-timezone: fix listing of sub-timezonesNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10538
2022-11-08setup-alpine: change urandom references to seedrngDermot Bradley
openrc 0.45 replaced the /etc/init.d/urandom script with /etc/init.d/seedrng. Change setup-alpine to enable this script.
2022-11-08setup-xorg-base: install mesa-dri-gallium insteadpsykose
"mesa" does not contain anything except two text files, and all the graphics drivers are in gallium instead
2022-11-08setup-user: skip user creation if 'none' is setNatanael Copa
Skip user creation if username is 'none' and no other options are set. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10528
2022-11-08update-kernel: fix modloop constructionmacmpi
some module refer to wildcarded firmware name: ensure proper handling