wok-stable rev 12428

Remove dpkg, debootstrap, linux-lxc: in backports
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 21 15:54:02 2013 +0000 (2013-12-21)
parents a949dd818ac6
children 27d494224398
files debootstrap/receipt dpkg/receipt linux-lxc/receipt
line diff
     1.1 --- a/debootstrap/receipt	Sat Dec 21 12:16:47 2013 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,21 +0,0 @@
     1.4 -# SliTaz package receipt
     1.5 -
     1.6 -PACKAGE="debootstrap"
     1.7 -VERSION="1.0.48"
     1.8 -CATEGORY="misc"
     1.9 -SHORT_DESC="Bootstrap a basic Debian system"
    1.10 -MAINTAINER="shann@slitaz.org"
    1.11 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 -WEB_SITE="https://wiki.debian.org/Debootstrap"
    1.13 -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
    1.14 -
    1.15 -DEPENDS="dpkg tar"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/sbin $fs/usr/share
    1.21 -	cp -a $src/usr/sbin/*  $fs/usr/sbin
    1.22 -	cp -a $src/usr/share/* $fs/usr/share
    1.23 -	chown -R root.root $fs
    1.24 -}
     2.1 --- a/dpkg/receipt	Sat Dec 21 12:16:47 2013 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,27 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="dpkg"
     2.7 -VERSION="1.16.12"
     2.8 -CATEGORY="misc"
     2.9 -SHORT_DESC="Debian package management system"
    2.10 -MAINTAINER="shann@slitaz.org"
    2.11 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 -WEB_SITE="https://wiki.debian.org/dpkg"
    2.13 -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
    2.14 -DEPENDS="bzlib liblzma zlib"
    2.15 -
    2.16 -CONFIG_FILES="/etc/logrotate.d/dpkg
    2.17 -/etc/cron.daily/dpkg
    2.18 -/etc/alternatives/README
    2.19 -/etc/dpkg/dpkg.cfg"
    2.20 -
    2.21 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.22 -genpkg_rules()
    2.23 -{
    2.24 -	mkdir -p $fs/etc/alternatives $fs/etc/dpkg $fs/etc/cron.daily $fs/etc/logrotate.d
    2.25 -	mkdir -p $fs/usr/share $fs/usr/sbin $fs/usr/sbin $fs/sbin
    2.26 -	cp -a $src/etc/* $fs/etc
    2.27 -	cp -a $src/sbin/* $fs/sbin
    2.28 -	cp -a $src/usr/* $fs/usr
    2.29 -        chown -R root.root $fs
    2.30 -}
     3.1 --- a/linux-lxc/receipt	Sat Dec 21 12:16:47 2013 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,57 +0,0 @@
     3.4 -# SliTaz package receipt
     3.5 -
     3.6 -PACKAGE="linux-lxc"
     3.7 -VERSION="2.6.37"
     3.8 -CATEGORY="misc"
     3.9 -SHORT_DESC="The Linux kernel and modules with LXC support."
    3.10 -MAINTAINER="shann@slitaz.org"
    3.11 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 -WEB_SITE="http://linuxcontainers.org/"
    3.13 -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
    3.14 -PROVIDE="linux"
    3.15 -
    3.16 -DEPENDS="lxc"
    3.17 -
    3.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.19 -genpkg_rules()
    3.20 -{
    3.21 -	mkdir -p $fs/lib/firmware $fs/lib/modules
    3.22 -        cp -a $src/boot $fs
    3.23 -        cp -a $src/lib/modules/*  $fs/lib/modules
    3.24 -        cp -a $src/lib/firmware/* $fs/lib/firmware
    3.25 -        chown -R root.root $fs
    3.26 -}
    3.27 -
    3.28 -# Pre and post install commands for Tazpkg.
    3.29 -post_install()
    3.30 -{
    3.31 -    echo "Update /etc/fstab for use cgroup..."
    3.32 -    echo "none            /cgroup      cgroup  defaults           0       0" >> /etc/fstab
    3.33 -
    3.34 -    echo "Processing post-install commands..."
    3.35 -    chroot "$1/" depmod -a $VERSION-lxc-slitaz
    3.36 -    # GRUB stuff.
    3.37 -    if [ -f "$1/boot/grub/menu.lst" ]; then
    3.38 -        root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1`
    3.39 -                grub_dev=`cat $1/boot/grub/menu.lst | grep "root (" | head -n 1`
    3.40 -                # Add new kernel entry in case of upgrade for installed system.
    3.41 -                if ! grep -q $PACKAGE-$VERSION-lxc-slitaz $1/boot/grub/menu.lst; then
    3.42 -                cat >> $1/boot/grub/menu.lst << EOT
    3.43 -
    3.44 -title SliTaz GNU/Linux (Kernel $VERSION-lxc-slitaz)
    3.45 -$grub_dev
    3.46 -kernel /boot/vmlinuz-$VERSION-lxc-slitaz root=$root_dev
    3.47 -EOT
    3.48 -                fi
    3.49 -                # Display information message.
    3.50 -        cat <<EOT
    3.51 -----
    3.52 -GRUB is installed, these tree lines must be in your /boot/grub/menu.lst:
    3.53 -
    3.54 -title  SliTaz GNU/Linux (Kernel $VERSION-lxc-slitaz)
    3.55 -$grub_dev
    3.56 -kernel /boot/vmlinuz-$VERSION-lxc-slitaz root=$root_dev
    3.57 -----
    3.58 -EOT
    3.59 -        fi
    3.60 -}