diff options
author | Colin Watson <cjwatson@debian.org> | 2011-03-01 14:17:09 (GMT) |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-03-01 14:17:09 (GMT) |
commit | 7c6cc6ad4e997df510690820206deb5777a7e12b (patch) | |
tree | e983331e487b422c0339e2ccba10a8fc588651ad /scripts | |
parent | 9aa1e76258cdd9c40538ac448fda3df08b15ca22 (diff) | |
download | debootstrap-7c6cc6ad4e997df510690820206deb5777a7e12b.zip debootstrap-7c6cc6ad4e997df510690820206deb5777a7e12b.tar.gz debootstrap-7c6cc6ad4e997df510690820206deb5777a7e12b.tar.bz2 |
For sid and gutsy (a.k.a. natty), install /var/lib/dpkg/info/$(dpkg --print-architecture) -> . symlink, to cope with multiarch dpkg.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gutsy | 1 | ||||
-rw-r--r-- | scripts/sid | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gutsy b/scripts/gutsy index 24c6a3f..307de25 100644 --- a/scripts/gutsy +++ b/scripts/gutsy @@ -69,6 +69,7 @@ first_stage_install () { local ver="$(extract_deb_field "$TARGET/$deb" Version)" mkdir -p "$TARGET/var/lib/dpkg/info" + ln -nsf . "$TARGET/var/lib/dpkg/info/$ARCH" echo \ "Package: $pkg diff --git a/scripts/sid b/scripts/sid index 5febdcc..442755a 100644 --- a/scripts/sid +++ b/scripts/sid @@ -58,6 +58,7 @@ first_stage_install () { local ver="$(extract_deb_field "$TARGET/$deb" Version)" mkdir -p "$TARGET/var/lib/dpkg/info" + ln -nsf . "$TARGET/var/lib/dpkg/info/$ARCH" echo \ "Package: $pkg |