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