mirror of
https://github.com/kou029w/megabit-os.git
synced 2025-01-18 16:07:58 +00:00
enable g_mass_storage
This commit is contained in:
parent
d7bfa56cfb
commit
d561f37daa
4 changed files with 4 additions and 1 deletions
1
apkovl/etc/modprobe.d/g_mass_storage.conf
Normal file
1
apkovl/etc/modprobe.d/g_mass_storage.conf
Normal file
|
@ -0,0 +1 @@
|
|||
options g_mass_storage file=/dev/mmcblk0p1
|
1
apkovl/etc/modules-load.d/g_mass_storage.conf
Normal file
1
apkovl/etc/modules-load.d/g_mass_storage.conf
Normal file
|
@ -0,0 +1 @@
|
|||
g_mass_storage
|
|
@ -11,5 +11,5 @@ mkdir dist
|
|||
bin/download "${version}" dist
|
||||
docker-compose run --rm minirootfs sh -c 'apk update && apk add'
|
||||
ssh-keygen -A -f apkovl
|
||||
cp -a cache dist
|
||||
cp -a usercfg.txt cache -t dist
|
||||
tar czf dist/localhost.apkovl.tar.gz --owner=0 --group=0 -C apkovl .
|
||||
|
|
1
usercfg.txt
Normal file
1
usercfg.txt
Normal file
|
@ -0,0 +1 @@
|
|||
dtoverlay=dwc2
|
Loading…
Add table
Reference in a new issue