aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | nlplug-findfs: increase timeout if usb-storage was foundNatanael Copa2015-10-091-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 baseNatanael Copa2015-10-091-0/+1
| |
* | nlplug-findfs: allow user to override timeout with -t optionNatanael Copa2015-10-091-2/+8
| |
* | nlplug-findfs: fix exit codeNatanael Copa2015-10-081-5/+3
| | | | | | | | retun success if anything of what we searched for was found.
* | nlplug-findfs: save stackspace while recursing dir treeNatanael Copa2015-10-081-12/+26
| | | | | | | | | | avoid allocate PATH_MAX on stack for every dir. Instead reuse the path buffer.
* | nlplug-findfs: fix recursing dirs on isofsNatanael Copa2015-10-081-3/+12
| | | | | | | | | | the dirent d_type is not supported on isofs apparently. Use lstat instead.
* | nlplug-findfs: clean up netlink socketNatanael Copa2015-10-081-2/+6
| | | | | | | | we set CLOEXEC with socket create
* | nlplug-findfs: remove mountdir optionNatanael Copa2015-10-081-17/+6
| | | | | | | | | | We will need set optional mount options, so we better do the mount from script.
* | nlplug-findfs: add -a option to find apkovlNatanael Copa2015-10-081-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 -bNatanael Copa2015-10-081-0/+1
| |
* | nlplug-findfs: search for .boot_repositoryNatanael Copa2015-10-071-44/+137
| | | | | | | | | | add option -b OUTFILE which will create OUTFILE and add first found boot repository
* | nlplug-findfs: refactor recursing dir treeNatanael Copa2015-09-241-15/+28
| | | | | | | | | | we need a more general recurse function so we can search for boot repos and similar.
* | nlplug-findfs: run trigger in threadNatanael Copa2015-09-231-13/+33
| |
* | nlplug-findfs: fix usage helpNatanael Copa2015-09-231-15/+28
| |
* | nlplug-findfs: do not depend on external trigger scriptNatanael Copa2015-09-231-7/+35
| | | | | | | | We recursively scan /sys and trigger the events ourselves.
* | add new tool nlplug-findfsNatanael Copa2015-09-233-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 missingNatanael Copa2015-09-221-1/+1
| | | | mdadm and lvm needs it
* lvm: support snapshot LVsJesse Young2015-09-221-0/+1
|
* init: make mdadm quietJesse Young2015-09-221-1/+3
|
* mkinitfs: add /run to the initfs base imageJesse Young2015-09-221-1/+1
| | | | | mdadm otherwise complains about not being able to lock /run/mdadm/map.lock
* features: raid: add mdadm filesJesse Young2015-09-222-0/+3
|
* improve default configNatanael Copa2015-08-281-1/+1
| | | | remove bootchart and floppy from default config and add mmc
* mkinitfs: copy modules.order and modules.builtin if those existNatanael Copa2015-07-301-0/+5
|
* ==== release 2.8.0 ===v2.8.0Natanael Copa2015-07-151-1/+1
|
* init: try mount /dev as devtmpfs and fallback to tmpfsNatanael Copa2015-07-151-1/+2
| | | | eudev depends on devtmpfs
* features: add mmcTimo Teräs2015-04-151-0/+1
|
* init: do not eval /proc/cmdlineNatanael Copa2015-04-081-3/+3
| | | | | | It breaks xen boot options like xen-pciback.hide=(01:00.0) ref #3609
* init: respect rootflags for tmpfs root tooNatanael Copa2015-04-081-3/+8
| | | | and warn about root_size. Users should use rootflags instead now.
* init: clean up rootfstype and rootflags optionsNatanael Copa2015-04-081-15/+5
| | | | we can get rid of if/else with some shell variable expansions
* init: add support for rootfstype and rootflags boot optionsOlivier Mauras2015-04-081-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 initramfsOlivier Mauras2015-03-101-0/+2
|
* init: resolve UUID=... devices for cryptsetupNatanael Copa2015-03-101-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 rootTimo Teräs2015-02-072-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 optionalTimo Teräs2014-12-021-2/+10
| | | | just having the fbsplash.ppm in boot media activates now splash.
* ==== release 2.7.1 ====v2.7.1Natanael Copa2014-12-011-1/+1
|
* init: coding style fixNatanael Copa2014-12-011-1/+3
|
* init: allow blacklisting of modules from cmdlineTimo Teräs2014-12-011-1/+4
|
* init: remove 'nofbcon' and the explicit modprobe fbconTimo Teräs2014-12-011-7/+1
| | | | it is useless as fbcon is really loaded by mdev.
* init: preliminary support for splash image during bootTimo Teräs2014-12-011-2/+13
|
* init: fix loading of fbconNatanael Copa2014-11-261-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 successNatanael Copa2014-11-171-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.0Natanael Copa2014-11-101-1/+1
|
* init: remove /media/floppyNatanael Copa2014-11-101-1/+1
|
* init: minor refactor of find_ovlNatanael Copa2014-11-101-6/+3
| | | | use 'set' instead of 'ls' to find duplicate apkovls
* init: refactor searching for apkovlNatanael Copa2014-11-101-14/+34
| | | | | | | we search on all block devices with known filesystems using blkid. This should help us find apkovl on ext[234] filesystems and on block devices that are not on the USB bus.
* init: set start order of raid, cryptsetup and lvm via alpine_start boot optNatanael Copa2014-11-051-7/+9
| | | | | | | User might want change the order raid cryptsetup and lvm is started. This allows for example cryptsetup on top of lvm. ref #3420
* features: add support for cherry keyboard from initfsNatanael Copa2014-11-051-0/+1
|
* features: raid: remove cpqarray modulesKaarle Ritvanen2014-10-241-1/+0
| | | | CONFIG_BLK_CPQ_DA is not set in kernel build
* mkinitfs: use initramfs-$kernelflavor as default outfile nameNatanael Copa2014-07-311-3/+3
| | | | ref #3240
* mkinitfs: fix kernel module dependency tracingNatanael Copa2014-07-311-2/+2
| | | | | When searching kernel module depedencies we need to that relative kerneldir and not relative basedir.