summaryrefslogtreecommitdiff
path: root/initramfs-init
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-19 15:59:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-19 15:59:48 +0000
commit2f40d9a87322175186a9a7f885c0646cebb1ef8f (patch)
tree76067df5100848afb2b3a9986c165ad37699c314 /initramfs-init
parent83151c3bbba336a392444ba42e2e198216e60571 (diff)
downloadabuild-2f40d9a87322175186a9a7f885c0646cebb1ef8f.tar.gz
abuild-2f40d9a87322175186a9a7f885c0646cebb1ef8f.tar.bz2
abuild-2f40d9a87322175186a9a7f885c0646cebb1ef8f.tar.xz
abuild-2f40d9a87322175186a9a7f885c0646cebb1ef8f.zip
initfs: find apkovls on boot media
Diffstat (limited to 'initramfs-init')
-rwxr-xr-xinitramfs-init3
1 files changed, 3 insertions, 0 deletions
diff --git a/initramfs-init b/initramfs-init
index a25aab2..6e6a361 100755
--- a/initramfs-init
+++ b/initramfs-init
@@ -161,6 +161,9 @@ for i in usb floppy cdrom; do
[ -f "$ovl" ] && break
umount /media/$i 2>/dev/null
done
+if ! [ -f "$ovl" ]; then
+ ovl=$(find_ovl $ALPINE_MNT)
+fi
if [ -f "$ovl" ]; then
ebegin "Loading user settings from $ovl"