1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Rebase on docker-from-scratch

This commit is contained in:
Darren Shepherd
2015-07-29 00:51:49 -07:00
parent 889c80b682
commit 19f9a1b281
7 changed files with 237 additions and 342 deletions

View File

@@ -64,10 +64,15 @@ if [ ! -d ${INITRD_TMP} ]; then
popd
fi
if [ -e ${INITRD_CURRENT} ]; then
rm -f ${INITRD_CURRENT}
fi
ln -sf ${INITRD_TMP} ${INITRD_CURRENT}
cp bin/rancheros ${INITRD_TMP}/init
cp -f os-config.yml ${INITRD_TMP}/
mkdir -p ${INITRD_TMP}/usr/{bin,share/ros}
cp bin/rancheros ${INITRD_TMP}/usr/bin/ros
cp -f os-config.yml ${INITRD_TMP}/usr/share/ros
cd ${INITRD_TMP}
find . | cpio -H newc -o > ${INITRD_TEST}