mirror of
https://github.com/rancher/os.git
synced 2025-06-20 20:21:54 +00:00
12 lines
298 B
Bash
Executable File
12 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
cd $(dirname $0)/..
|
|
. scripts/build-common
|
|
|
|
mv ${BUILD}/kernel/lib ${INITRD_DIR}
|
|
mv assets/docker ${INITRD_DIR}
|
|
cp os-config.yml ${INITRD_DIR}
|
|
cp bin/rancheros ${INITRD_DIR}/init
|
|
cd ${INITRD_DIR} && find | cpio -H newc -o | lzma -c > ${DIST}/artifacts/initrd
|