# HG changeset patch # User Pascal Bellard # Date 1387641242 0 # Node ID 7ef0801eb21dcbacd54ac2bb1d9e99488c2c2a92 # Parent a949dd818ac62d0265503056fb4bb35d2c0391b3 Remove dpkg, debootstrap, linux-lxc: in backports diff -r a949dd818ac6 -r 7ef0801eb21d debootstrap/receipt --- a/debootstrap/receipt Sat Dec 21 12:16:47 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt - -PACKAGE="debootstrap" -VERSION="1.0.48" -CATEGORY="misc" -SHORT_DESC="Bootstrap a basic Debian system" -MAINTAINER="shann@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://wiki.debian.org/Debootstrap" -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" - -DEPENDS="dpkg tar" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/sbin $fs/usr/share - cp -a $src/usr/sbin/* $fs/usr/sbin - cp -a $src/usr/share/* $fs/usr/share - chown -R root.root $fs -} diff -r a949dd818ac6 -r 7ef0801eb21d dpkg/receipt --- a/dpkg/receipt Sat Dec 21 12:16:47 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="dpkg" -VERSION="1.16.12" -CATEGORY="misc" -SHORT_DESC="Debian package management system" -MAINTAINER="shann@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://wiki.debian.org/dpkg" -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" -DEPENDS="bzlib liblzma zlib" - -CONFIG_FILES="/etc/logrotate.d/dpkg -/etc/cron.daily/dpkg -/etc/alternatives/README -/etc/dpkg/dpkg.cfg" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/etc/alternatives $fs/etc/dpkg $fs/etc/cron.daily $fs/etc/logrotate.d - mkdir -p $fs/usr/share $fs/usr/sbin $fs/usr/sbin $fs/sbin - cp -a $src/etc/* $fs/etc - cp -a $src/sbin/* $fs/sbin - cp -a $src/usr/* $fs/usr - chown -R root.root $fs -} diff -r a949dd818ac6 -r 7ef0801eb21d linux-lxc/receipt --- a/linux-lxc/receipt Sat Dec 21 12:16:47 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ -# SliTaz package receipt - -PACKAGE="linux-lxc" -VERSION="2.6.37" -CATEGORY="misc" -SHORT_DESC="The Linux kernel and modules with LXC support." -MAINTAINER="shann@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://linuxcontainers.org/" -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" -PROVIDE="linux" - -DEPENDS="lxc" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib/firmware $fs/lib/modules - cp -a $src/boot $fs - cp -a $src/lib/modules/* $fs/lib/modules - cp -a $src/lib/firmware/* $fs/lib/firmware - chown -R root.root $fs -} - -# Pre and post install commands for Tazpkg. -post_install() -{ - echo "Update /etc/fstab for use cgroup..." - echo "none /cgroup cgroup defaults 0 0" >> /etc/fstab - - echo "Processing post-install commands..." - chroot "$1/" depmod -a $VERSION-lxc-slitaz - # GRUB stuff. - if [ -f "$1/boot/grub/menu.lst" ]; then - root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1` - grub_dev=`cat $1/boot/grub/menu.lst | grep "root (" | head -n 1` - # Add new kernel entry in case of upgrade for installed system. - if ! grep -q $PACKAGE-$VERSION-lxc-slitaz $1/boot/grub/menu.lst; then - cat >> $1/boot/grub/menu.lst << EOT - -title SliTaz GNU/Linux (Kernel $VERSION-lxc-slitaz) -$grub_dev -kernel /boot/vmlinuz-$VERSION-lxc-slitaz root=$root_dev -EOT - fi - # Display information message. - cat <