diff options
author | Simon Rettberg | 2013-07-12 19:53:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2013-07-12 19:53:32 +0200 |
commit | 30c0004f430a8c5f5583c3702990d5c75f94f0eb (patch) | |
tree | e4a9fc782330edbcec346831b34c0f88206dcd23 /server/export_target | |
parent | [vmchooser] Try to refine calculation of amount of memory to assign to VM (diff) | |
download | tm-scripts-30c0004f430a8c5f5583c3702990d5c75f94f0eb.tar.gz tm-scripts-30c0004f430a8c5f5583c3702990d5c75f94f0eb.tar.xz tm-scripts-30c0004f430a8c5f5583c3702990d5c75f94f0eb.zip |
[mltk/server] Add status output between generating squashFS and generating initramfs
Diffstat (limited to 'server/export_target')
-rwxr-xr-x | server/export_target | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/export_target b/server/export_target index f177bbfd..1a87650a 100755 --- a/server/export_target +++ b/server/export_target @@ -67,6 +67,7 @@ generate_stage32() { [ -e "${STAGE32_SQFS_DIR}/${TARGET}.sqfs" ] && rm "${STAGE32_SQFS_DIR}/${TARGET}.sqfs" pinfo "Writing '${TARGET}.sqfs' to '${STAGE32_SQFS_DIR}/${TARGET}.sqfs'" mksquashfs "${SERVER_BUILD_DIR}/${TARGET}" "${STAGE32_SQFS_DIR}/${TARGET}.sqfs" -comp xz -b 1M -no-recovery >&6 || perror "mksquashfs failed ($?)." + pinfo "Wrapping squashFS in initramfs-stage32" generate_initramfs "${SERVER_BOOT_DIR}/stage32_sqfs" "./mnt/${TARGET}.sqfs" "${SERVER_BOOT_DIR}/initramfs-${TARGET}" # cleanup [ -d "${SERVER_BOOT_DIR}/stage32_sqfs" ] && rm -rf ${SERVER_BOOT_DIR}/stage32_sqfs |