Skip to content

Commit e29e246

Browse files
committedNov 24, 2016
debootstrap: 1.0.80 -> 1.0.87
1 parent 27f1def commit e29e246

File tree

1 file changed

+3
-31
lines changed

1 file changed

+3
-31
lines changed
 

Diff for: ‎pkgs/tools/misc/debootstrap/default.nix

+3-31
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,16 @@
11
{ stdenv, fetchurl, dpkg, gettext, gawk, perl, wget, coreutils, fakeroot }:
22

3-
let
43
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
54
# There is also cdebootstrap now. Is that easier to maintain?
6-
makedev = stdenv.mkDerivation {
7-
name = "makedev-for-debootstrap";
8-
src = fetchurl {
9-
url = mirror://debian/pool/main/m/makedev/makedev_2.3.1.orig.tar.gz;
10-
sha256 = "1yhxlj2mhn1nqkx1f0sn0bl898nf28arxxa4lgp7hdrb5cpp36c5";
11-
};
12-
patches = [
13-
(fetchurl {
14-
url = "mirror://debian/pool/main/m/makedev/makedev_2.3.1-93.diff.gz";
15-
sha256 = "08328779mc0b20xkj76ilpf9c8bw6zkz5xiw5l2kwm690dxp9nvw";
16-
})
17-
];
18-
# TODO install man
19-
installPhase = ''
20-
mkdir -p $out/sbin
21-
ls -l
22-
t=$out/sbin/MAKEDEV
23-
cp MAKEDEV $t
24-
chmod +x $t
25-
'';
26-
};
27-
in stdenv.mkDerivation rec {
5+
stdenv.mkDerivation rec {
286
name = "debootstrap-${version}";
29-
version = "1.0.80";
7+
version = "1.0.87";
308

319
src = fetchurl {
3210
# git clone git://git.debian.org/d-i/debootstrap.git
3311
# I'd like to use the source. However it's lacking the lanny script ? (still true?)
3412
url = "mirror://debian/pool/main/d/debootstrap/debootstrap_${version}.tar.gz";
35-
sha256 = "06gigscd2327wsvc7n7w2m8xmaixvp4kyqhayn00qrgd9i9w34x6";
13+
sha256 = "1amk3wghx4f7zfp7d8r0hgqn5gvph50qa6nvh32q2j8aihdr7374";
3614
};
3715

3816
buildInputs = [ dpkg gettext gawk perl ];
@@ -72,8 +50,6 @@ in stdenv.mkDerivation rec {
7250
d=$out/share/debootstrap
7351
mkdir -p $out/{share/debootstrap,bin}
7452
75-
${fakeroot}/bin/fakeroot -- make devices.tar.gz MAKEDEV=${makedev}/sbin/MAKEDEV
76-
7753
cp -r . $d
7854
7955
cat >> $out/bin/debootstrap << EOF
@@ -90,10 +66,6 @@ in stdenv.mkDerivation rec {
9066
mv debootstrap.8 $out/man/man8
9167
'';
9268

93-
passthru = {
94-
inherit makedev;
95-
};
96-
9769
meta = {
9870
description = "Tool to create a Debian system in a chroot";
9971
homepage = http://packages.debian.org/de/lenny/debootstrap; # http://code.erisian.com.au/Wiki/debootstrap

0 commit comments

Comments
 (0)
Please sign in to comment.