xref: /aosp_15_r20/external/sg3_utils/debian/README.debian4 (revision 44704f698541f6367e81f991ef8bb54ccbf3fc18)
1For whatever reason Debian build scripts (e.g. debhelper and dbclean)
2seem to have changed in such a way to be Debian 4.0 ("etch") unfriendly.
3
4So when the ./build_debian.sh script is called on a Debian 4.0 system,
5it fails saying the debhelper is too old. That can be fixed by editing
6the 'control' file, changing this line:
7    Build-Depends: debhelper (>> 7), libtool, libcam-dev [kfreebsd-i386 kfreebsd-amd64]
8to:
9    Build-Depends: debhelper, libtool, libcam-dev [kfreebsd-i386 kfreebsd-amd64]
10
11The script then dies in dbclean and the hack to get around that is to
12edit the 'compat' file. It contains "7" which needs to be changed to
13"4". Evidently "4" is deprecated and "5" is preferable and should work.
14
15