https://www.debian.org/doc/debian-policy/ch-controlfields.html
А в нём поле Architecture
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-architecture
В это поле нужно написать какую-нибудь архитектуру
https://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-arch-spec
и пакет соберётся. Список архитектур брать так
dpkg-architecture -L
++++++++++++++++++++++++++++++++++++++++++++++++++++
Пакет будет минимальный. Лишь бы был.
Это вот будет папка с исходниками
Shell
mkdir heh-1Shell
tar -cvzf heh-1.tar.gz heh-1Shell
cd heh-1
dh_make -s -y -f ../heh-1.tar.gzcat debian/control
Зачем-то кропаем файлы heh_1-1.debian.tar.xz и heh_1-1.dsc:
Source: heh
Section: main
Priority: optional
Maintainer: unknown <use@astra>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.8
Homepage: <insert the upstream URL, if relevant>
#Vcs-Git: https://anonscm.debian.org/collab-maint/heh.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/heh.git
Package: heh
Architecture: or1k
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Shell
cd ..
dpkg-source -b heh-1Shell
$ cd heh-1
use@astra:~/Desktop/foo/heh-1$ fakeroot debian/rules binary
dh binary
dh: No packages to build.https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-architecture
Я прочёл полностью, никаких ограничений я там не нашёл на этот счёт. Спасибо, кто откликнется. Астралинукс Орёл 2.12