Browse Source

create_sunxi - modify scripts after repository refactoring

Émile Morel 10 years ago
parent
commit
e420bd3461
2 changed files with 3 additions and 3 deletions
  1. 1 1
      olinux/create_arm_debootstrap.sh
  2. 2 2
      olinux/create_sunxi_boot_files.sh

+ 1 - 1
olinux/create_arm_debootstrap.sh

@@ -76,7 +76,7 @@ apt-get install --force-yes -y debootstrap dpkg-dev qemu binfmt-support qemu-use
 mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
 bash /olinux/script/binfmt-misc-arm.sh unregister
 bash /olinux/script/binfmt-misc-arm.sh 
-debootstrap --arch=armhf --foreign $distro $TARGET_DIR
+debootstrap --arch=armhf --foreign $DEBIAN_RELEASE $TARGET_DIR
 cp /usr/bin/qemu-arm-static $TARGET_DIR/usr/bin/
 cp /etc/resolv.conf $TARGET_DIR/etc
 chroot_deb $TARGET_DIR '/debootstrap/debootstrap --second-stage'

+ 2 - 2
olinux/create_sunxi_boot_files.sh

@@ -91,7 +91,7 @@ clone_or_pull linux.git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds
 cd /olinux/sunxi/linux/
 # igorpecovnik patch for debian package
 patch -p1 < /olinux/patch/packaging-next.patch
-cp /olinux/linux-sunxi.config /olinux/sunxi/linux/.config
+cp /olinux/config/linux-sunxi.config /olinux/sunxi/linux/.config
 if [ "$LOGO" ] ; then
   cp /olinux/logo/LDN_logo.ppm /olinux/sunxi/linux/drivers/video/logo/logo_linux_clut224.ppm
 fi
@@ -103,4 +103,4 @@ rm -f /olinux/sunxi/*.deb
 make -j1 deb-pkg KBUILD_DEBARCH=armhf ARCH=arm DEBFULLNAME="$MAINTAINER" DEBEMAIL="$MAINTAINERMAIL" CROSS_COMPILE=arm-linux-gnueabihf-
 
 rm -rf /olinux/sunxi/config/boot.scr
-mkimage -C none -A arm -T script -d /olinux/boot.cmd /olinux/sunxi/boot.scr
+mkimage -C none -A arm -T script -d /olinux/config/boot.cmd /olinux/sunxi/boot.scr