1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 06:59:12 +00:00

More build script enhancements

This commit is contained in:
Darren Shepherd
2016-05-08 10:35:48 -07:00
parent 1d92167143
commit dd7b2554e7
8 changed files with 23 additions and 17 deletions

View File

@@ -12,9 +12,10 @@ echo Create initrd layout in $INITRD_DIR
rm -rf ${INITRD_DIR}
mkdir -p ${INITRD_DIR}/usr/{etc,bin,share/ros}
./scripts/template
cp -rf assets/selinux ${INITRD_DIR}/usr/etc
cp build/images.tar ${INITRD_DIR}/usr/share/ros/
cp build/os-config.yml ${INITRD_DIR}/usr/share/ros/
cp bin/ros ${INITRD_DIR}/usr/bin/
cp ${DOWNLOADS}/docker ${INITRD_DIR}/usr/bin/docker
ln -s usr/bin/ros ${INITRD_DIR}/init