diff --git a/board/phytium/common/post-custom-skeleton-debian-11.sh b/board/phytium/common/post-custom-skeleton-debian-11.sh index 8ad94e28de6727ae84b491fc4a7ac18661ec57b3..105178e6374e2b204b5db9b60fa2502c7fdd4727 100755 --- a/board/phytium/common/post-custom-skeleton-debian-11.sh +++ b/board/phytium/common/post-custom-skeleton-debian-11.sh @@ -86,7 +86,7 @@ do_distrorfs_first_stage() { [ $1 != amd64 -a ! -f $RFSDIR/usr/bin/qemu-${tgtarch}-static ] && sudo cp $(which qemu-${tgtarch}-static) $RFSDIR/usr/bin echo "installing for second-stage ..." DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C \ - sudo chroot $RFSDIR /debootstrap/debootstrap --variant=minbase --second-stage + sudo chroot $RFSDIR/debootstrap/debootstrap --variant=minbase --second-stage if [ "x$?" != "x0" ]; then do_recover_from_error "debootstrap failed in second-stage" exit 1 diff --git a/board/phytium/common/post-custom-skeleton-ubuntu.sh b/board/phytium/common/post-custom-skeleton-ubuntu.sh index f49975013c215cf614384f698a7120bdda71edca..52347b61dc8f6efc4d59aab82853e815c0c70d0c 100755 --- a/board/phytium/common/post-custom-skeleton-ubuntu.sh +++ b/board/phytium/common/post-custom-skeleton-ubuntu.sh @@ -91,7 +91,7 @@ do_distrorfs_first_stage() { [ $1 != amd64 -a ! -f $RFSDIR/usr/bin/qemu-${tgtarch}-static ] && sudo cp $(which qemu-${tgtarch}-static) $RFSDIR/usr/bin echo "installing for second-stage ..." DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C \ - sudo chroot $RFSDIR /debootstrap/debootstrap --second-stage + sudo chroot $RFSDIR/debootstrap/debootstrap --second-stage if [ "x$?" != "x0" ]; then do_recover_from_error "debootstrap failed in second-stage" exit 1