diff --git a/apkovl/etc/modprobe.d/g_mass_storage.conf b/apkovl/etc/modprobe.d/g_mass_storage.conf new file mode 100644 index 0000000..cf8ee44 --- /dev/null +++ b/apkovl/etc/modprobe.d/g_mass_storage.conf @@ -0,0 +1 @@ +options g_mass_storage file=/dev/mmcblk0p1 diff --git a/apkovl/etc/modules-load.d/g_mass_storage.conf b/apkovl/etc/modules-load.d/g_mass_storage.conf new file mode 100644 index 0000000..fd5ae93 --- /dev/null +++ b/apkovl/etc/modules-load.d/g_mass_storage.conf @@ -0,0 +1 @@ +g_mass_storage diff --git a/bin/build b/bin/build index 9fc57ec..20d98f5 100755 --- a/bin/build +++ b/bin/build @@ -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 . diff --git a/usercfg.txt b/usercfg.txt new file mode 100644 index 0000000..dcff45e --- /dev/null +++ b/usercfg.txt @@ -0,0 +1 @@ +dtoverlay=dwc2