aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ==== release 3.3.0_rc1 ====v3.3.0_rc1Natanael Copa2018-06-121-1/+1
|
* Add support for keyfileslemmarathon2018-06-125-3/+55
| | | | | | | The "cryptkey" boot parameter enables keyfile decryption. By default, init will look for a keyfile named "/crypto_keyfile.bin". Another file may be specified like so: "cryptkey=/path/to/keyfile.bin". If keyfile decryption fails, init will fall back to passphrase mode.
* Use first network interface that is upMick Tarsel2018-06-121-1/+4
| | | | | | | | Previous code would return eth0 every time and pay no attention if interface was up. This patch gets the state from operstate file in sysfs to use the interface that is actually up in case there are multiple interfaces present. If no interface is up, just use last interface.
* features: include ssl_client for networkNatanael Copa2018-06-121-0/+1
|
* init: dont install wgetNatanael Copa2018-06-121-16/+0
| | | | ssl_client provides the https support for busybox wget
* init: remove ssh_pass and make sure to start sshdNatanael Copa2018-06-121-2/+3
| | | | | | | ssh_pass is not recommended and causes some issues in firstboot. We remove support for it to keep things simple. also make sure that sshd is started if ssh_key is set
* initramfs-init: add support for ssh installerTuan M. Hoang2018-05-241-5/+32
| | | | | | | | | | | | This commit allows starting 'firstboot' service (see aports/openrc), which will setup installation through SSH if specified in kernel parameters. Real wget is used instead since busybox's wget is broken without openssl binary #8917. Credits to clandmeter. - Allow adding DNS server in configure_ip() - Prefix kernel parameters with KOPT_
* initramfs-init: add disk and network detection on s390xTuan M. Hoang2018-05-144-2/+28
| | | | | - Allow including dasd and qeth modules when building initramfs - Add detection for dasd and qeth devices from cmdline in init
* generate mkinitfs.confNatanael Copa2018-05-142-4/+5
| | | | we may want have conditional default config depending on architecture
* nlplug-findfs: describe -D in usagelemmarathon2018-05-071-0/+1
|
* Add xfs_repairazarus2018-05-072-0/+2
| | | | | Having xfs_repair in the initramfs can help if your root filesystem is messed up.
* features: virtio_net depends on virtio_pciCarlo Landmeter2018-04-291-1/+2
|
* features: add virtio_net to network modulesCarlo Landmeter2018-04-291-0/+1
|
* mkinitfs: add xz compression supportCarlo Landmeter2018-04-111-3/+22
|
* travis: update alpine-chroot-install to 0.7.0 and use Alpine edgeJakub Jirutka2018-02-201-3/+3
|
* initramfs: do not relocate mountpoint for netbootCarlo Landmeter2018-02-201-0/+4
| | | | mountpoint cannot be located when repo is external.
* initramfs-init: redirect output of brtfs scan to /dev/nullSören Tempel2018-02-181-1/+2
| | | | | None of the other commands emit any output if everything works as expected and I just like consistency.
* nlplug-findfs: add primitive support for LUKS2 containersSören Tempel2018-01-251-1/+1
| | | | | | | | | Since we previously specified an explicit request_type for the crypt_load() function nlplug-findfs couldn't open LUKS2 containers. By using CRYPT_LUKS crypt_load accepts any known LUKUS container format. We could add an additional command line flag to nlplug-finds for specifying the request_type but I guess this is good enough for now.
* init: add support for loading AWS ENA driversMike Crute2018-01-242-0/+2
|
* handle more than 2 blacklisted modules in cmdlineManuel Mendez2018-01-191-1/+1
| | | | | | | | | | | | | | example: ```sh ❯ docker run --rm -ti alpine / # KOPT_blacklist=igb,ixgbe,tg3 / # for i in ${KOPT_blacklist/,/ }; do echo "blacklist $i"; done blacklist igb blacklist ixgbe,tg3 / # for i in ${KOPT_blacklist//,/ }; do echo "blacklist $i"; done blacklist igb blacklist ixgbe blacklist tg3 ```
* skip hooks on diskless installHenrik Riomar2018-01-091-1/+1
| | | | | | | | We can not run hooks before musl and busybox is installed. Use the new flag --initramfs-diskless-boot in order to skip hooks. This flag also implies --initdb and the relevant --force flags for initramfs diskless boot.
* ==== release 3.2.0 ====v3.2.0Natanael Copa2017-11-231-1/+1
| | | | release 3.2.0
* mkinitfs: fix building initfs without a kernelAndrej2017-11-201-3/+3
|
* makefile: add features.d/btrfs.files to CONF_FILESJakub Jirutka2017-09-221-0/+1
|
* fix booting from btrfs on multiple devicesJakub Jirutka2017-09-222-0/+5
| | | | | | | | | https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices: > btrfs device scan is used to scan all of the block devices under /dev > and probe for Btrfs volumes. This is required after loading the btrfs > module if you're running with more than one device in a filesystem. See http://bugs.alpinelinux.org/issues/6903
* travis: fix before_scriptJakub Jirutka2017-09-221-3/+3
|
* travis: fix alpine-chroot-install checksumJakub Jirutka2017-08-291-1/+1
|
* init: add cryptdiscards optionSören Tempel2017-08-032-3/+12
| | | | | When enabled allows the use of discard (TRIM) requests for the device. See cryptsetup(1) for more information.
* features: ext4 needs crc32Natanael Copa2017-08-032-1/+2
| | | | | | ref #7611 fix a duplicate in xfs while at it
* travis: update alpine-chroot-install to 0.6.0Jakub Jirutka2017-07-251-2/+2
|
* travis: notify on IRCJakub Jirutka2017-07-251-0/+5
|
* mkinitfs: sync arg.h with upstreamtmpfile2017-06-271-20/+29
| | | | For reference: http://git.r-36.net/nldev/tree/arg.h
* travis: replace custom scripts with alpine-chroot-installJakub Jirutka2017-06-1711-169/+16
|
* ==== release 3.1.0 ====v3.1.0Natanael Copa2017-06-161-1/+1
|
* init: add flow control to getty if present in kernel cmdlineManuel Mendez2017-06-141-1/+1
|
* init: properly parse kernel serial console optionsManuel Mendez2017-06-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://www.kernel.org/doc/Documentation/admin-guide/serial-console.rst the serial port options is specified as: "... BBBBPNF, where BBBB is the speed, P is parity (n/o/e), N is number of bits, and F is flow control ('r' for RTS)." Parity and Number of bits are ignored since getty does not have any options for them. I tested the paramater substitution using the following script/snippet: ```sh / # cat /etc/alpine-release; cat kernel2getty.sh; sh kernel2getty.sh 3.5.2 consoles="ttyS0 ttyS0,115200 ttyS0,115200n8 ttyS0,115200n8r ttyS0,115200r" for console in $consoles; do line=-L term=vt100 tty=${console%,*} speed=${console#*,} flow=${speed##*[^r]} speed=${speed%%[^0-9]*} echo "console=$console" echo " speed=$speed" echo " flow=$flow" echo " getty=getty ${flow:+-h }$line ${speed:-15200} $tty $term" echo "----------" done console=ttyS0 speed= flow= getty=getty -L 15200 ttyS0 vt100 ---------- console=ttyS0,115200 speed=115200 flow= getty=getty -L 115200 ttyS0 vt100 ---------- console=ttyS0,115200n8 speed=115200 flow= getty=getty -L 115200 ttyS0 vt100 ---------- console=ttyS0,115200n8r speed=115200 flow=r getty=getty -h -L 115200 ttyS0 vt100 ---------- console=ttyS0,115200r speed=115200 flow=r getty=getty -h -L 115200 ttyS0 vt100 ---------- ``` closes #7037
* mkinitfs.in: fix "local" outside of functionOliver Smith2017-06-141-1/+1
|
* ==== release 3.1.0_rc1 ====v3.1.0_rc1Natanael Copa2017-04-071-1/+1
|
* nlplug-findfs: fix the deported header feature7heo2017-04-051-0/+6
| | | | | | | | Without a call to crypt_set_data_device(), the cryptsetup system does not know where to find the data device. It works whether the header is deported or not, according to https://github.com/mbroz/cryptsetup/blob/8f84fb49faa69b0ddde3d534ee9c72119256f4c9/src/cryptsetup.c#L782 so it is fine to call it in all cases.
* initramfs-init: LUKS header & offset support7heo2017-04-051-2/+8
|
* nlplug-findfs: remove double \n for consistency7heo2017-04-051-2/+0
|
* nlplug-findfs: alloca isn't POSIX, use stack7heo2017-04-051-4/+5
|
* nlplug-findfs: refactor crypt device searchingNatanael Copa2017-04-051-18/+32
| | | | move the logic to separate function
* nlplug-findfs: refactor cryptsetup structsNatanael Copa2017-04-051-39/+44
| | | | | put all data related cryptsetup in a struct. No changes in functionality.
* nlplug-findfs: Make test script header aware7heo2017-04-052-5/+15
|
* nlplug-findfs: Support for LUKS detached header7heo2017-04-051-18/+59
|
* init: pull in libressl instead of openssl for encrypted apkovlNatanael Copa2017-03-131-1/+1
| | | | ref #6689
* mkinitfs: have features.d in search path (add -P <dir>)Timo Teräs2017-01-261-19/+23
| | | | | | | instead of having only one features.d directory, make it a search path to which paths can be prepended with -P option. This allows custom boot media creation scripts to contain features.d overlays, and additional features.
* nlplug-findfs: enable automated testing7heo2017-01-1811-0/+172
|
* ==== release 3.0.9 ====v3.0.9Natanael Copa2017-01-101-1/+1
|