1d176175ab
firmware.service now just modprobes wlan to get it working Other services do not need to be changed to work with firmware.service creating a full arch linux initramfs now works (module loading still done via firmware.service unfortunately)
13 lines
277 B
Bash
13 lines
277 B
Bash
#!/usr/bin/ash
|
|
|
|
run_hook () {
|
|
mount_handler="img_mount_handler"
|
|
}
|
|
|
|
img_mount_handler() {
|
|
mkdir /data
|
|
mount -t ext4 /dev/mmcblk0p30 /data
|
|
mknod /dev/loop256 b 7 256
|
|
losetup /dev/loop256 /data/arch.img
|
|
mount -t ext4 -o rw,noatime /dev/loop256 /new_root
|
|
}
|