aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* nlplug-findfs: improve logging about spawned commandsTimo Teräs2016-11-211-13/+39
|
* nlplug-findfs: handle uevent strictly after mdev executionTimo Teräs2016-11-211-52/+101
|
* nlplug-findfs: convert to kernel style linked lists and track spawned pidsTimo Teräs2016-11-211-32/+116
|
* nlplug-findfs: improve debugging, make device finding asyncTimo Teräs2016-11-211-53/+59
|
* nlplug-findfs: accept passphrase of non-zero slotsTimo Teräs2016-11-211-1/+1
| | | | ref #6473
* mkinitfs: add nbd supportCarlo Landmeter2016-10-285-10/+36
| | | | | this also introduces default behaviour for networking calling configure_ip without setting ip defaults to dhcp
* init: make network boot work without apkovlKaarle Ritvanen2016-10-201-1/+4
|
* nlplug-findfs: fix erratic behavior and SIGSEGV7heo2016-09-281-1/+1
| | | | | Likely introduced in the major rehaul done in e4af128b30855b2b29a27c2fd7580b62059bbe51
* nlplug-findfs: test script7heo2016-09-171-0/+107
|
* group: sync with alpine-baselayoutSören Tempel2016-08-101-10/+4
|
* init: recognize ttyAMA as serial consoleTimo Teräs2016-07-141-1/+1
|
* build: honor CPPFLAGSTimo Teräs2016-07-131-1/+1
|
* mkinitfs: add -K flag to copy host keys to new initramfsTimo Teräs2016-07-131-2/+5
| | | | | | this is mainly to copy the developer keys present on build system to the target initramfs. simplifies creating your own initramfs and when your key is not packaged.
* nlplug-findfs: refacor crypt device to its own structNatanael Copa2016-07-041-15/+19
| | | | makes things a bit cleaner
* init: add support for ttyMFD and ttyUSB serial consoleNatanael Copa2016-06-201-2/+2
| | | | and set default speed to 115200.
* ==== release 3.0.5 ====v3.0.5Natanael Copa2016-06-151-1/+1
|
* nlplug-findfs: increase max delayNatanael Copa2016-06-101-10/+21
| | | | | | | | | Increase timeout to 5sec if we have not found anything so we don't get error too early. If boot repos are found then reduce the event timeout to 250ms. If usb_storage is found, then always add 1 second of delay in addition, to let the usb host settle.
* btrfs: remove duplicate crc32 modulesNatanael Copa2016-05-301-2/+0
|
* init: add crc32 modules for raid5Natanael Copa2016-05-181-0/+2
| | | | They are not pulled in automatically
* nlplug-findfs: increase the /sys recursion limitTimo Teräs2016-03-211-2/+2
| | | | | certain platform and usb devices expose things deep down the tree, increase the recursion limit
* ==== 3.0.4 ====v3.0.4Natanael Copa2016-03-111-1/+1
|
* nlplug-findfs: scan block devices on changeTimo Teräs2016-03-111-1/+1
| | | | | | | | raid disks are created zero sized. when mdadm has found all the disks it finally enables it. this causes md devices to be zero sized for some time after their creation, and blkid will not detect them. catch the 'change' notification and rescan block devices for updated blkid.
* nlplug-findfs: limit recursion depthTimo Teräs2016-03-111-7/+8
| | | | | | | Based on patch by donoban. Limit recursion depth for repository search to 2 levels (shell script had -maxdepth 3 for finding the file entry, so it's maximum of 2 levels of directories). For sysfs entries deeper search is allowed. ref #5192
* init: support individual splash image per fbdevTimo Teräs2016-02-171-9/+15
|
* ==== release 3.0.3 ====v3.0.3Natanael Copa2016-01-201-1/+1
|
* init: hide kernel messages with 'quiet'Natanael Copa2016-01-181-1/+1
| | | | | this was commented out during nlplug-findfs refactor for debugging purposes. uncomment it again.
* init: dont launch emergency shell if http repo is specifiedNatanael Copa2016-01-181-1/+7
| | | | | | | we we specify a repo with boot option then we should not launch an emergency shell even if no repo was found. This is needed for pxe boot.
* nlplug-findfs: allow success even if nothing foundNatanael Copa2016-01-181-1/+5
| | | | | add -n option to allow return success even if nothing was found. This is useful for net boot, where apkovl and repositories are on network.
* init: set MAC_ADDRESS in the scope where $device existsNatanael Copa2016-01-181-1/+1
| | | | | we need set MAC_ADDRESS where whi know $device, which is a local variable.
* init: remove dead codeNatanael Copa2016-01-181-17/+0
|
* ==== release 3.0.2 ====v3.0.2Natanael Copa2016-01-061-1/+1
|
* init: fix mount relocationNatanael Copa2016-01-061-21/+21
| | | | | we need to relocate mount based on fstab in initramfs in case there is an apkovl but no fstab.
* use $repofile for /tmp/repositoriesTimo Teräs2016-01-061-9/+9
| | | | | this fixes one typo of that filename. ref #4975 - fixes half of the problem.
* init: fix grep to refer to the securetty fileTimo Teräs2015-12-221-1/+1
| | | | otherwise it hangs waiting input from stdin
* ==== release 3.0.1 ====v3.0.1Natanael Copa2015-12-181-1/+1
|
* mkinitfs: compress with gzip -9Natanael Copa2015-12-181-1/+1
|
* mkinitfs: add --quiet to cpio callsTimo Teräs2015-12-181-3/+3
|
* ==== release 3.0.0 ====v3.0.0Natanael Copa2015-12-181-1/+1
|
* init: add tty from cmdline to securettyNatanael Copa2015-12-181-4/+9
|
* mkinitfs: remove missing file warningTimo Teräs2015-12-181-2/+0
| | | | | it is normal that kernel modules or directories are missing in some architectures. don't give unwanted warnings on those.
* build: install mmc.modulesTimo Teräs2015-12-181-0/+1
|
* nlplug-findfs: fix usb settle delayNatanael Copa2015-12-161-10/+14
| | | | | | | kernel does not set any "DRIVER" env var in uevent from netlink so we use kmod to find usb_storage driver. We also reduce the timeout to 1 sec, which should be enough.
* init: add arch crypto modulesNatanael Copa2015-12-153-0/+7
| | | | | we want the faster crypto implementation early for cryptsetup, xfs and btrfs.
* init: fix mount relocationNatanael Copa2015-11-251-28/+29
|
* nlplug-findfs: do not try execute programs that does not existsNatanael Copa2015-11-251-4/+13
| | | | | Avoid printing error message if there are lvm devices but root is not on any of those.
* make: remove kms.filesNatanael Copa2015-11-251-1/+0
|
* nlplug-findfs: print device name user expectsNatanael Copa2015-11-251-1/+2
| | | | | | | we want print the device name that user is looking for when we prompt for cryptsetup password instead of the devname from kernel uevent. If user specified UUID, then we print kernel provided name.
* nlplug-findfs: make lvm more silentNatanael Copa2015-11-251-1/+1
| | | | | we want avoid lvm messages be printed after password prompt for cryptsetup is displayed.
* nlplug-findfs: fix cryptsetup race conditionNatanael Copa2015-11-252-20/+119
| | | | | | | | | | | | | | | | | | | We need run cryptsetup in parallel so that keyboard drivers are loaded while waiting for password input. But cryptsetup will recreate the device which means that the uevent for new device node will first be added then changed and finally will it create the /dev/mapper/* device node. We handle the first generated uevent and while handling, the device node might have disappeared causeing blkid not find any UUID, and the /dev/mapper/* does not yet exist. This means that we need to: - handle uevents in parallel while waiting for password input - block uevent handling while actually setting up the crypt device So we use libcryptsetup and add a mutex while setting up the crypt device.
* nlplug-findfs: use bit mask to indicate running threadNatanael Copa2015-11-251-5/+12
| | | | | Use a bit mask to indicate trigger thread. This is so we can have more threads in future.