Closed gxbag closed 2 years ago
I created stage3/files/myfile.tar. I edited stage3/01-tweaks/00-run.sh where I added cp files/myfile.tar "${ROOTFS_DIR}/root/" before the on_chroot line.
stage3/files/myfile.tar
stage3/01-tweaks/00-run.sh
cp files/myfile.tar "${ROOTFS_DIR}/root/"
on_chroot
Upon execution it returns: cp: cannot stat 'files/myfile.tar': No such file or directory.
cp: cannot stat 'files/myfile.tar': No such file or directory
How would I copy my file to the image?
I got it:
I needed to place it like this: stage3/01-tweaks/files/myfile.tar. This is the correct structure.
stage3/01-tweaks/files/myfile.tar
I created
stage3/files/myfile.tar
. I editedstage3/01-tweaks/00-run.sh
where I addedcp files/myfile.tar "${ROOTFS_DIR}/root/"
before theon_chroot
line.Upon execution it returns:
cp: cannot stat 'files/myfile.tar': No such file or directory
.How would I copy my file to the image?