mirror of
https://github.com/troglobit/finit.git
synced 2026-11-28 20:58:24 +00:00
test: Populate/cleanup /etc "manually" via Makefile/tests
For now, do not mount /etc as tmpfs, but instead create the dir when building the rootfs via test/test_root/Makefile. Signed-off-by: Magnus Malm <magnusmalm@gmail.com>
This commit is contained in:
1 parent
b364fd7d6a
commit
6bcb9e9030
2 files changed
+3
-2
No files matched your search
@@ -35,7 +35,8 @@ dirs = ./dev \
|
|||||||
./sbin \
|
./sbin \
|
||||||
./sys \
|
./sys \
|
||||||
./test_assets \
|
./test_assets \
|
||||||
./tmp
|
./tmp \
|
||||||
|
./etc
|
||||||
|
|
||||||
_libs_src = $(shell ldd $(FINITBIN) | grep -Eo '/[^ ]+')
|
_libs_src = $(shell ldd $(FINITBIN) | grep -Eo '/[^ ]+')
|
||||||
libs = $(foreach path,$(_libs_src),.$(path))
|
libs = $(foreach path,$(_libs_src),.$(path))
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ mount -n -t tmpfs none /dev
|
|||||||
mount -t proc none /proc
|
mount -t proc none /proc
|
||||||
mount -t sysfs none /sys
|
mount -t sysfs none /sys
|
||||||
# mount -t tmpfs none /tmp
|
# mount -t tmpfs none /tmp
|
||||||
mount -t tmpfs none /etc
|
# mount -t tmpfs none /etc
|
||||||
|
|
||||||
# mkdir -p /dev/pts
|
# mkdir -p /dev/pts
|
||||||
# mount -t devpts none /dev/pts
|
# mount -t devpts none /dev/pts
|
||||||
|
|||||||
Reference in new issue
Block a user