| 120 |
mkdir -p $(DEST)/lib |
mkdir -p $(DEST)/lib |
| 121 |
mklibs.sh -v -d $(DEST)/lib `find $(DEST) -type f -perm +0111` |
mklibs.sh -v -d $(DEST)/lib `find $(DEST) -type f -perm +0111` |
| 122 |
# Now we have reduced libraries installed .. but they are |
# Now we have reduced libraries installed .. but they are |
| 123 |
# not listed in the status file. This nasty thing puts them in. |
# not listed in the status file. This nasty thing puts them in, |
| 124 |
# However, there's a problem -- deps on a library by udebs that |
# and alters their names to end in -reduced to indicate that |
| 125 |
# are not yet installed probably won't be satisfied by this stuff. |
# they have been modified. |
|
# Solution unknown. |
|
| 126 |
for package in $$(dpkg -S `find debian-installer/lib -type f | \ |
for package in $$(dpkg -S `find debian-installer/lib -type f | \ |
| 127 |
sed s:debian-installer::` | cut -d : -f 1 | \ |
sed s:debian-installer::` | cut -d : -f 1 | \ |
| 128 |
sort | uniq); do \ |
sort | uniq); do \ |
| 129 |
dpkg -s $$package >> $(DPKGDIR)/status; \ |
dpkg -s $$package >> $(DPKGDIR)/status; \ |
| 130 |
|
sed "s/$$package/$$package-reduced/g" \ |
| 131 |
|
< $(DPKGDIR)/status > $(DPKGDIR)/status-new; \ |
| 132 |
|
mv -f $(DPKGDIR)/status-new $(DPKGDIR)/status; \ |
| 133 |
done |
done |
| 134 |
|
|
| 135 |
# Reduce a status file to contain only the elements we care about. |
# Reduce a status file to contain only the elements we care about. |