tags 392481 patch
stop

Looks like debootstrap now automatically determines what packages are
required by parsing the Packages file for "Priority: essential" and
"Priority: important" packages. That means the extra manual dependency
on libsigc++-1.2-5c102 specified in the qemu-make-debian-root script is
no longer required. The dependency on aptitude is also not required
because it is also "Priority: important". qemu-make-debian-root also
tries to remove aptitude but it is required by tasksel, so I removed that.

-Ted
diff -ru qemu-0.8.2/debian/qemu-make-debian-root qemu-0.8.2-new/debian/qemu-make-debian-root
--- qemu-0.8.2/debian/qemu-make-debian-root	2006-10-13 13:08:52.000000000 +1000
+++ qemu-0.8.2-new/debian/qemu-make-debian-root	2006-10-13 13:23:03.000000000 +1000
@@ -69,7 +69,7 @@
 
 # Do debian install on it.
 #debootstrap --exclude=syslinux,at,exim,mailx,libstdc++2.10-glibc2.2,mbr,setserial,fdutils,info,ipchains,lilo,pcmcia-cs,ppp,pppoe,pppoeconf,pppconfig $DISTRO /tmp/mount.$$ $URL
-debootstrap --exclude=syslinux,at,exim,mailx,libstdc++2.10-glibc2.2,mbr,setserial,fdutils,info,ipchains,iptables,lilo,pcmcia-cs,ppp,pppoe,pppoeconf,pppconfig,wget,telnet,cron,logrotate,exim4,exim4-base,exim4-config,exim4-daemon-light,pciutils,modconf,tasksel --include=aptitude,libsigc++-1.2-5c102 $DISTRO /tmp/mount.$$ $URL
+debootstrap --exclude=syslinux,at,exim,mailx,libstdc++2.10-glibc2.2,mbr,setserial,fdutils,info,ipchains,iptables,lilo,pcmcia-cs,ppp,pppoe,pppoeconf,pppconfig,wget,telnet,cron,logrotate,exim4,exim4-base,exim4-config,exim4-daemon-light,pciutils,modconf,tasksel $DISTRO /tmp/mount.$$ $URL
 
 # Final configuration.
 cat > /tmp/mount.$$/etc/fstab <<EOF
@@ -92,7 +92,7 @@
 mv /tmp/mount.$$/etc/shadow.new /tmp/mount.$$/etc/shadow
 
 # Remove packages we don't need
-chroot /tmp/mount.$$ /usr/bin/dpkg --remove console-common aptitude console-tools console-data base-config man-db manpages
+chroot /tmp/mount.$$ /usr/bin/dpkg --remove console-common console-tools console-data base-config man-db manpages
 # Try to remove all libraries: some won't be removable.
 chroot /tmp/mount.$$ dpkg --remove `chroot /tmp/mount.$$ dpkg --get-selections | sed -n 's/^\(lib[^ \t]*\)[\t ]*install/\1/p'` 2>/dev/null || true
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to