Browse code

Fix contrib/mkimage/debootstrap for Lucid

Later versions of `apt` are smart enough to just create this directory if it's missing, but Lucid balks (just like `gnupg` and `gpgv` aren't in the Required set so don't come in a minbase -- good ol' Lucid).

Signed-off-by: Andrew Page <admwiggin@gmail.com>

Tianon Gravi authored on 2014/08/13 06:37:42
Showing 1 changed files
... ...
@@ -188,4 +188,6 @@ fi
188 188
 	# delete all the apt list files since they're big and get stale quickly
189 189
 	rm -rf "$rootfsDir/var/lib/apt/lists"/*
190 190
 	# this forces "apt-get update" in dependent images, which is also good
191
+	
192
+	mkdir "$rootfsDir/var/lib/apt/lists/partial" # Lucid... "E: Lists directory /var/lib/apt/lists/partial is missing."
191 193
 )