Changeset 134


Ignore:
Timestamp:
Nov 12, 2010, 5:23:03 PM (9 years ago)
Author:
amain
Message:

fix bug 17: E: package apt-cross has no installation candidate. Always install apt-cross from sid for squeeze. Unfortunately now some other packages are also installed from sid instead of squeeze.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/buildenv/debian.mk

    r105 r134  
    8787debian/buildenv/emdebian-prepare: debian/buildenv/prepare
    8888        sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_EMDEBIAN_BUILDENV_REPOSITORY)) $(EMDEBIAN_RELEASE) main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
     89ifeq ($(DEBIAN_BUILD_VERSION),sid)
    8990        sudo chroot $(DEBIAN_BUILD_DIR) apt-get update
    9091        sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install build-essential debootstrap fakeroot zlib1g-dev dh-make sudo openssh-client dpkg-cross apt-cross vim pkg-config dpatch libncurses5-dev devscripts subversion automake gcc-multilib g++-multilib"
     92else
     93        sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_DEBIAN_BUILDENV_REPOSITORY)) sid main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
     94        sudo bash -c "echo -e \"Package: *\nPin: release a=sid\nPin-Priority: 200\" > $(DEBIAN_BUILD_DIR)/etc/apt/preferences"
     95        sudo chroot $(DEBIAN_BUILD_DIR) apt-get update
     96        sudo chroot $(DEBIAN_BUILD_DIR) apt-get -y install -t sid apt-cross libmpfr1ldbl
     97        sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install build-essential debootstrap fakeroot zlib1g-dev dh-make sudo openssh-client dpkg-cross vim pkg-config dpatch libncurses5-dev devscripts subversion automake gcc-multilib g++-multilib"
     98endif
    9199        sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install libc6-$(TARGET_ARCH)-cross libc6-dev-$(TARGET_ARCH)-cross binutils-$(TARGET_ARCH)-linux-gnu gcc-4.3-$(TARGET_ARCH)-linux-gnu g++-4.3-$(TARGET_ARCH)-linux-gnu linux-kernel-headers-$(TARGET_ARCH)-cross"
    92100        touch $@
Note: See TracChangeset for help on using the changeset viewer.