Add docker skeleton

This commit is contained in:
2019-04-03 23:04:25 +02:00
parent bfdb430980
commit c19d686cfb
7 changed files with 66 additions and 3289 deletions

View File

@@ -8,3 +8,4 @@ export BR_PROJECT_NAME:=x86_64_domo
export BR_BOARD:=$(shell pwd)/../../bsp/board/domo/
include $(BR_BOARD)/main.mk
include $(shell pwd)/../../bsp/include/docker.mk

View File

@@ -0,0 +1,2 @@
FROM scratch
ADD rootfs /

File diff suppressed because it is too large Load Diff

View File

@@ -1,25 +0,0 @@
#!/bin/bash
if [ -z "$1" ]; then
echo Missing parameter: path to target root directory
exit 1
fi
if [ -z "$(which virtfs-xattr)" ]; then
echo Cannot find virtfs-xattr utility
exit 1
fi
find "$1" -type l -exec bash -c '
function convert-link {
content=$(readlink "$1")
rm "$1"
echo -n "$content" > "$1"
virtfs-xattr -l "$1"
echo " Link update - $1 -> $content"
};
convert-link "$0"' {} \;
find "$1" -exec virtfs-xattr -u 0 -g 0 {} \;
exit 0