sync4
This commit is contained in:
commit
7d2a3797c3
0
create_arm_img_urpmi.sh
Executable file → Normal file
0
create_arm_img_urpmi.sh
Executable file → Normal file
@ -63,11 +63,19 @@ function bunrningBootloader()
|
||||
|
||||
function copyingCustomSystem()
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
# ODROID_BOOT="${BUILD_PATH}/mnt/odroid_boot"
|
||||
# if ! [ -d "${ODROID_BOOT}" ]; then
|
||||
# rm -rf "${ODROID_BOOT}"
|
||||
# mkdir -p "${ODROID_BOOT}"
|
||||
# fi
|
||||
=======
|
||||
ODROID_BOOT="${BUILD_PATH}/mnt/odroid_boot"
|
||||
if ! [ -d "${ODROID_BOOT}" ]; then
|
||||
rm -rf "${ODROID_BOOT}"
|
||||
mkdir -p "${ODROID_BOOT}"
|
||||
fi
|
||||
>>>>>>> d7c2376925bec483811b4bdada1c415b5a333b91
|
||||
case ${TARGET_VERSION} in
|
||||
"xu4")
|
||||
info "copying u-boot for ${TARGET} ${TARGET_VERSION}"
|
||||
@ -78,9 +86,15 @@ function copyingCustomSystem()
|
||||
|
||||
info "Copying extlinux.conf on ${ODROID_BOOT}"
|
||||
cp --preserve=mode -R "${BUILD_PATH}/boot/extlinux" "${ODROID_BOOT}/"
|
||||
<<<<<<< HEAD
|
||||
# info "copying Mageia image to root partition"
|
||||
# /bin/rsync -rlptogDH --exclude "${ODROID_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
|
||||
# /bin/rsync -rlptogDH "${ODROID_BOOT}/" "${BOOT}/"
|
||||
=======
|
||||
info "copying Mageia image to root partition"
|
||||
/bin/rsync -rlptogDH --exclude "${ODROID_BOOT}/" --exclude "qemu-arm-static*" "${BUILD_PATH}/" "${ROOT}/"
|
||||
/bin/rsync -rlptogDH "${ODROID_BOOT}/" "${BOOT}/"
|
||||
>>>>>>> d7c2376925bec483811b4bdada1c415b5a333b91
|
||||
return 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user