mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
function: add to copy an fixups/overlay directory in working directory.
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I5e085fa5ea07c97855e463530cf4ce3d566d0769
This commit is contained in:
@@ -176,7 +176,9 @@ do_preinstall() {
|
||||
|
||||
echo "I: running preinstall scripts and copy default files..."
|
||||
mkdir -p ${rootfs_mnt}${fixups_dir}
|
||||
cp -a ${TOPDIR}/fixups/* ${rootfs_mnt}${fixups_dir}
|
||||
|
||||
[ -d ${TOPDIR}/fixups ] && rsync -a ${TOPDIR}/fixups/* ${rootfs_mnt}/${fixups_dir}
|
||||
[ -d ${WORKDIR}/fixups ] && rsync -a ${WORKDIR}/fixups/* ${rootfs_mnt}/${fixups_dir}
|
||||
|
||||
FIXUPS=`ls -A1 ${rootfs_mnt}${fixups_dir}/*`
|
||||
for fixup in ${FIXUPS}; do
|
||||
@@ -204,8 +206,8 @@ do_preinstall() {
|
||||
cp ${QEMU_BINARY} ${rootfs_mnt}/${QEMU_BINARY} || panic "error"
|
||||
fi
|
||||
|
||||
cp -a ${TOPDIR}/overlay/root/firstboot.sh ${rootfs_mnt}/root/
|
||||
cp -a ${TOPDIR}/overlay/boot/boot-logo.bmp.gz ${rootfs_mnt}/boot/
|
||||
[ -d ${TOPDIR}/overlay ] && rsync -a ${TOPDIR}/overlay/* ${rootfs_mnt}/
|
||||
[ -d ${WORKDIR}/overlay ] && rsync -a ${WORKDIR}/overlay/* ${rootfs_mnt}/
|
||||
}
|
||||
|
||||
do_postinstall() {
|
||||
|
||||
Reference in New Issue
Block a user