Jelajahi Sumber

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 11 tahun lalu
induk
melakukan
631fadc0b9
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      contrib/mkimage/debootstrap

+ 2 - 0
contrib/mkimage/debootstrap

@@ -188,4 +188,6 @@ fi
 	# delete all the apt list files since they're big and get stale quickly
 	# delete all the apt list files since they're big and get stale quickly
 	rm -rf "$rootfsDir/var/lib/apt/lists"/*
 	rm -rf "$rootfsDir/var/lib/apt/lists"/*
 	# this forces "apt-get update" in dependent images, which is also good
 	# this forces "apt-get update" in dependent images, which is also good
+	
+	mkdir "$rootfsDir/var/lib/apt/lists/partial" # Lucid... "E: Lists directory /var/lib/apt/lists/partial is missing."
 )
 )