Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | nlplug-findfs: use DT_UNKNOWN to detect if lstat is to be used | Natanael Copa | 2015-10-19 | 1 | -10/+4 | |
| | | ||||||
* | | nlplug-findfs: dont exit before trigger thread is complete | Natanael Copa | 2015-10-14 | 1 | -1/+1 | |
| | | ||||||
* | | init: do not force add hwdrivers and modloop | Natanael Copa | 2015-10-14 | 1 | -5/+0 | |
| | | | | | | | | we probably dont support upgrade from the old version it was there for | |||||
* | | nlplug-findfs: avoid lstat syscall wen scanning /sys if possible | Natanael Copa | 2015-10-09 | 1 | -5/+18 | |
| | | | | | | | | | | | | | | There are ~10k entries in /sys so we want be fast. Not all filesystems supports dirent filed d_type, (iso9660 for example) so we need use lstat to find directories. However, we know that sysfs supports it, so we can avoid 10k lstat syscalls. This might be noticiable difference on rpi. | |||||
* | | init: run mdev as handler for device modes | Natanael Copa | 2015-10-09 | 1 | -3/+3 | |
| | | ||||||
* | | init: refactor to use nlplug-findfs | Natanael Copa | 2015-10-09 | 1 | -280/+67 | |
| | | ||||||
* | | nlplug-findfs: increase timeout if usb-storage was found | Natanael Copa | 2015-10-09 | 1 | -1/+11 | |
| | | | | | | | | | | usb storage need some time to settle, we increase the timeout with 2 seconds if we detext usb-storage. | |||||
* | | features: add nlplug-findfs to base | Natanael Copa | 2015-10-09 | 1 | -0/+1 | |
| | | ||||||
* | | nlplug-findfs: allow user to override timeout with -t option | Natanael Copa | 2015-10-09 | 1 | -2/+8 | |
| | | ||||||
* | | nlplug-findfs: fix exit code | Natanael Copa | 2015-10-08 | 1 | -5/+3 | |
| | | | | | | | | retun success if anything of what we searched for was found. | |||||
* | | nlplug-findfs: save stackspace while recursing dir tree | Natanael Copa | 2015-10-08 | 1 | -12/+26 | |
| | | | | | | | | | | avoid allocate PATH_MAX on stack for every dir. Instead reuse the path buffer. | |||||
* | | nlplug-findfs: fix recursing dirs on isofs | Natanael Copa | 2015-10-08 | 1 | -3/+12 | |
| | | | | | | | | | | the dirent d_type is not supported on isofs apparently. Use lstat instead. | |||||
* | | nlplug-findfs: clean up netlink socket | Natanael Copa | 2015-10-08 | 1 | -2/+6 | |
| | | | | | | | | we set CLOEXEC with socket create | |||||
* | | nlplug-findfs: remove mountdir option | Natanael Copa | 2015-10-08 | 1 | -17/+6 | |
| | | | | | | | | | | We will need set optional mount options, so we better do the mount from script. | |||||
* | | nlplug-findfs: add -a option to find apkovl | Natanael Copa | 2015-10-08 | 1 | -29/+82 | |
| | | | | | | | | | | when both apkovl and boot repository are found, then we should have what we need to setup up a working tmpfs root so we exit at that point. | |||||
* | | nlplug-findfs: add help text for -b | Natanael Copa | 2015-10-08 | 1 | -0/+1 | |
| | | ||||||
* | | nlplug-findfs: search for .boot_repository | Natanael Copa | 2015-10-07 | 1 | -44/+137 | |
| | | | | | | | | | | add option -b OUTFILE which will create OUTFILE and add first found boot repository | |||||
* | | nlplug-findfs: refactor recursing dir tree | Natanael Copa | 2015-09-24 | 1 | -15/+28 | |
| | | | | | | | | | | we need a more general recurse function so we can search for boot repos and similar. | |||||
* | | nlplug-findfs: run trigger in thread | Natanael Copa | 2015-09-23 | 1 | -13/+33 | |
| | | ||||||
* | | nlplug-findfs: fix usage help | Natanael Copa | 2015-09-23 | 1 | -15/+28 | |
| | | ||||||
* | | nlplug-findfs: do not depend on external trigger script | Natanael Copa | 2015-09-23 | 1 | -7/+35 | |
| | | | | | | | | We recursively scan /sys and trigger the events ourselves. | |||||
* | | add new tool nlplug-findfs | Natanael Copa | 2015-09-23 | 3 | -3/+572 | |
|/ | | | | | | | | nlplug-findfs is a tool that will help us to find a given filesystem using coldplug. The only reason that initramfs exist in first place is to set up a rootfs and switch to it. The nlplug-findfs will handle coldplug events til a given filesystem/device is found and then mount it. | |||||
* | init: create /run in case it is missing | Natanael Copa | 2015-09-22 | 1 | -1/+1 | |
| | | | | mdadm and lvm needs it | |||||
* | lvm: support snapshot LVs | Jesse Young | 2015-09-22 | 1 | -0/+1 | |
| | ||||||
* | init: make mdadm quiet | Jesse Young | 2015-09-22 | 1 | -1/+3 | |
| | ||||||
* | mkinitfs: add /run to the initfs base image | Jesse Young | 2015-09-22 | 1 | -1/+1 | |
| | | | | | mdadm otherwise complains about not being able to lock /run/mdadm/map.lock | |||||
* | features: raid: add mdadm files | Jesse Young | 2015-09-22 | 2 | -0/+3 | |
| | ||||||
* | improve default config | Natanael Copa | 2015-08-28 | 1 | -1/+1 | |
| | | | | remove bootchart and floppy from default config and add mmc | |||||
* | mkinitfs: copy modules.order and modules.builtin if those exist | Natanael Copa | 2015-07-30 | 1 | -0/+5 | |
| | ||||||
* | ==== release 2.8.0 ===v2.8.0 | Natanael Copa | 2015-07-15 | 1 | -1/+1 | |
| | ||||||
* | init: try mount /dev as devtmpfs and fallback to tmpfs | Natanael Copa | 2015-07-15 | 1 | -1/+2 | |
| | | | | eudev depends on devtmpfs | |||||
* | features: add mmc | Timo Teräs | 2015-04-15 | 1 | -0/+1 | |
| | ||||||
* | init: do not eval /proc/cmdline | Natanael Copa | 2015-04-08 | 1 | -3/+3 | |
| | | | | | | It breaks xen boot options like xen-pciback.hide=(01:00.0) ref #3609 | |||||
* | init: respect rootflags for tmpfs root too | Natanael Copa | 2015-04-08 | 1 | -3/+8 | |
| | | | | and warn about root_size. Users should use rootflags instead now. | |||||
* | init: clean up rootfstype and rootflags options | Natanael Copa | 2015-04-08 | 1 | -15/+5 | |
| | | | | we can get rid of if/else with some shell variable expansions | |||||
* | init: add support for rootfstype and rootflags boot options | Olivier Mauras | 2015-04-08 | 1 | -3/+15 | |
| | | | | | | | | | | | Add support for two new options in the cmdline. - rootfstype: Let's you specify the type of filesystem for the root fs - rootflags: Let's you specify mount options for the root fs - If specified, "ro" flag won't be added by default. This has primarily been setup to be able to boot Alpine guests from a 9P virtio share and make it easy to change mount options from libvirt/qemu | |||||
* | Add 9p feature to enable modules insertion in initramfs | Olivier Mauras | 2015-03-10 | 1 | -0/+2 | |
| | ||||||
* | init: resolve UUID=... devices for cryptsetup | Natanael Copa | 2015-03-10 | 1 | -1/+1 | |
| | | | | | | | recent version of cryptsetup does not seem to work with UUID=... devices unless udev is used to create /dev/disk/by-uuid symlinks. We work around that by resolving UUID=... to the device. | |||||
* | support for tmpfs overlay over root | Timo Teräs | 2015-02-07 | 2 | -2/+13 | |
| | | | | | | useful if wanting to optimize boot time, and do device updates via read-only system image. package management is not too useful in these situations. | |||||
* | init: fix splash fifo, and make config file optional | Timo Teräs | 2014-12-02 | 1 | -2/+10 | |
| | | | | just having the fbsplash.ppm in boot media activates now splash. | |||||
* | ==== release 2.7.1 ====v2.7.1 | Natanael Copa | 2014-12-01 | 1 | -1/+1 | |
| | ||||||
* | init: coding style fix | Natanael Copa | 2014-12-01 | 1 | -1/+3 | |
| | ||||||
* | init: allow blacklisting of modules from cmdline | Timo Teräs | 2014-12-01 | 1 | -1/+4 | |
| | ||||||
* | init: remove 'nofbcon' and the explicit modprobe fbcon | Timo Teräs | 2014-12-01 | 1 | -7/+1 | |
| | | | | it is useless as fbcon is really loaded by mdev. | |||||
* | init: preliminary support for splash image during boot | Timo Teräs | 2014-12-01 | 1 | -2/+13 | |
| | ||||||
* | init: fix loading of fbcon | Natanael Copa | 2014-11-26 | 1 | -4/+4 | |
| | | | | | we check if /sys/class/graphics/fb0 exists before loading fbcon and allow user to disable tiwh nofbcon as boot option | |||||
* | init: lvm: run vgchange even if vgscan does not return success | Natanael Copa | 2014-11-17 | 1 | -2/+2 | |
| | | | | | | | It seems like vgscan does not return success in initramfs, even if the needed devices noded are created. Ignore errors and try run vgchange in any case. | |||||
* | ==== release 2.7.0 ====v2.7.0 | Natanael Copa | 2014-11-10 | 1 | -1/+1 | |
| | ||||||
* | init: remove /media/floppy | Natanael Copa | 2014-11-10 | 1 | -1/+1 | |
| | ||||||
* | init: minor refactor of find_ovl | Natanael Copa | 2014-11-10 | 1 | -6/+3 | |
| | | | | use 'set' instead of 'ls' to find duplicate apkovls |