mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
/run is now created by postscript
This commit is contained in:
parent
a7b265dc8a
commit
3774d80e26
@ -208,4 +208,4 @@ rm -f $TARGET/etc/init.d/S91smb
|
|||||||
|
|
||||||
# other unwanted dirs
|
# other unwanted dirs
|
||||||
rm -rf $TARGET/data/*
|
rm -rf $TARGET/data/*
|
||||||
|
rm -rf $TARGET/run
|
||||||
|
@ -1 +0,0 @@
|
|||||||
tmp
|
|
@ -15,6 +15,12 @@ if [ -x $BOARD_DIR/postscript.sh ]; then
|
|||||||
$BOARD_DIR/postscript.sh
|
$BOARD_DIR/postscript.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# cleanups
|
||||||
|
$COMMON_DIR/cleanups.sh
|
||||||
|
if [ -x $BOARD_DIR/cleanups.sh ]; then
|
||||||
|
$BOARD_DIR/cleanups.sh
|
||||||
|
fi
|
||||||
|
|
||||||
# transform /var contents as needed
|
# transform /var contents as needed
|
||||||
rm -rf $TARGET/var/cache
|
rm -rf $TARGET/var/cache
|
||||||
rm -rf $TARGET/var/lib
|
rm -rf $TARGET/var/lib
|
||||||
@ -31,12 +37,7 @@ ln -s /data/log $TARGET/var/log
|
|||||||
ln -s /tmp $TARGET/var/run
|
ln -s /tmp $TARGET/var/run
|
||||||
ln -s /tmp $TARGET/var/spool
|
ln -s /tmp $TARGET/var/spool
|
||||||
ln -s /tmp $TARGET/var/tmp
|
ln -s /tmp $TARGET/var/tmp
|
||||||
|
ln -s /tmp $TARGET/run
|
||||||
# cleanups
|
|
||||||
$COMMON_DIR/cleanups.sh
|
|
||||||
if [ -x $BOARD_DIR/cleanups.sh ]; then
|
|
||||||
$BOARD_DIR/cleanups.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# board-specific os.conf
|
# board-specific os.conf
|
||||||
if [ -r $BOARD_DIR/os.conf ]; then
|
if [ -r $BOARD_DIR/os.conf ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user