9 lines
295 B
Bash
9 lines
295 B
Bash
#!/bin/bash
|
|
|
|
mkdir /run/void-usb/overlay
|
|
mount -t tmpfs -o size=4g,mode=755 none /run/void-usb/overlay
|
|
mkdir /run/void-usb/overlay/upper
|
|
mkdir /run/void-usb/overlay/work
|
|
|
|
mount -t overlay -o lowerdir=/sysroot,upperdir=/run/void-usb/overlay/upper,workdir=/run/void-usb/overlay/work none /sysroot
|