10 lines
312 B
Bash
Executable File
10 lines
312 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# For live ISO we don't need a disk image — just a plain working directory.
|
|
# Substages (apt cleanup, network config) run on_chroot against this directory.
|
|
|
|
rm -rf "${ROOTFS_DIR}"
|
|
mkdir -p "${ROOTFS_DIR}"
|
|
|
|
rsync -aHAXx --exclude /var/cache/apt/archives "${EXPORT_ROOTFS_DIR}/" "${ROOTFS_DIR}/"
|