mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-03-02 02:27:46 +01:00
[WIP] Use systemd-growfs instead of own scripts to expand the rootfs
This commit is contained in:
parent
734b387faf
commit
607f7f7418
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
/usr/sbin/resizeSD &&
|
||||
pip install /home/mycroft/vosk-0.3.17-cp38-cp38-linux_aarch64.whl &&
|
||||
rm /etc/firstboot
|
||||
|
@ -11,7 +11,6 @@ FIRSTBOOT_SERVICE_LICENSE = Apache License 2.0
|
||||
FIRSTBOOT_SERVICE_LICENSE_FILES = LICENSE
|
||||
|
||||
define FIRSTBOOT_SERVICE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/resizeSD $(TARGET_DIR)/usr/sbin/
|
||||
$(INSTALL) -m 0755 $(@D)/firstboot $(TARGET_DIR)/usr/sbin/
|
||||
$(INSTALL) -D -m 644 $(@D)/firstboot.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/firstboot.service
|
||||
|
@ -1,5 +1,5 @@
|
||||
# <file system> <mount pt> <type> <options> <dump> <pass>
|
||||
/dev/root / ext2 rw,noauto 0 1
|
||||
/dev/root / ext2 rw,noauto,x-systemd.growfs 0 1
|
||||
proc /proc proc defaults 0 0
|
||||
devpts /dev/pts devpts defaults,gid=5,mode=620,ptmxmode=0666 0 0
|
||||
tmpfs /dev/shm tmpfs mode=0777 0 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user