[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#62730: boot-floppies: pathcmd does not work for "updates" in subdirectories



Package: boot-floppies
Version: 2.2.11

Hi,
patchmd gives relative paths for files in updates, which does not work when
used in subdirectories.

This leads to the missing of the pmac-fdisk manpage for m68k. For some
reason, the package is not yet available in the archive, but I have a local
copy. It is copied into the updates directory.
In documentation, the manpage is extraceted from the deb:
[ -f "updates/pmac-fdisk-cross_0.1-3_m68k.deb" ] && ( \
  dpkg --fsys-tarfile updates/pmac-fdisk-cross_0.1-3_m68k.deb | \
        tar -xOf - '*/man8/pmac-fdisk.8.gz'  | zcat > tmp               ;\
  man -l tmp | col -b > pmac-fdisk.txt                                  ;\
  rm -f tmp                                                     ;\
)
make[3]: [pmac-fdisk.txt] Error 1 (ignored)
It seems, that the deb is searched for in a subdirectory (of documentation)
and not found, since it is in fact in a sub directory of the toplevel
directory.

I propose to use absolute paths in pathcmd for files in updates as well. If
I knew how to implement that, I would have done so to get the pmac-fdisk
manpage.

Christian


Reply to: