Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #82725
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Adam Novak <interfect@gmail.com> |
| Newsgroups | linux.debian.kernel |
| Subject | I'm not able to cross-build a Debian kernel by following the instructions because I'm not sure what kind of host system is required |
| Date | Sat, 15 Jun 2024 04:50:01 +0200 |
| Message-ID | <IPrEl-319M-1@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-kernel-request@lists.debian.org Sat Jun 15 02:46:02 2024 |
| Old-Return-Path | <interfect@gmail.com> |
| X-Amavis-Spam-Status | No, score=-6.109 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Gm-Message-State | AOJu0YwIy9gQuBYYrR1R7Y8zNOIImQDGRalBUXNa/Sa96JOgHDk9psb3 CnTsodxAAFdxrZyKZVZpYRENU7JsU8iY8svM7EC1WucK/Uxu+wTwBtlp6h149KYB8+LXs6+JoUO y1y+oRlsoBUa62Nweuqya07FanaHKOt5ALPc= |
| X-Google-SMTP-Source | AGHT+IGMIBC1/xUSeUd5WR7Y7fnZ8ZfNbq3X4p0xqDw7MprKvCkFFe8w6wp3i8zZh2LxRGByOXLwsmSM7lM2Wcnd3LQ= |
| X-Received | by 2002:ac2:4ed8:0:b0:52c:9d31:3f25 with SMTP id 2adb3069b0e04-52ca6e90302mr2872641e87.43.1718419543622; Fri, 14 Jun 2024 19:45:43 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="000000000000790b05061ae4bac8" |
| X-Mailing-List | <debian-kernel@lists.debian.org> archive/latest/142957 |
| List-ID | <debian-kernel.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-kernel/> |
| List-Archive | https://lists.debian.org/msgid-search/CADPp2fCNYsBgUFsX6aApE_Rjs1iSOO-99-spshRDnLHuh7k54g@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 81 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 14 Jun 2024 22:45:31 -0400 |
| X-Original-Message-ID | <CADPp2fCNYsBgUFsX6aApE_Rjs1iSOO-99-spshRDnLHuh7k54g@mail.gmail.com> |
| Xref | csiph.com linux.debian.kernel:82725 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I'm trying to build a Debian kernel with a 1-line patch, in order to build a Debian system image for a C.H.I.P. brand ARM board. I would specifically like to build kernel v6.8.12 with the debian/6.8.12-1 version of < https://salsa.debian.org/kernel-team/linux>. I'm trying to follow the kernel cross-build instructions on the wiki: < https://wiki.debian.org/HowToCrossBuildAnOfficialDebianKernelPackage>. I am doing this from an Ubuntu 22.04 host system, because that's what I have already and nothing in those instructions or at < https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-official> suggested that I should need anything else. But it doesn't work; the scripts assume I have Python 3.11 as the system python, for example, when my host system only has 3.10. Because of < https://salsa.debian.org/kernel-team/linux/-/commit/6033fc28e827bbd4d32b68e4b6b8444ee9de8edd> they specifically refuse to consult PATH and deliberately insist on using the system Python. If I bypass that, install Python 3.11 on the system, and install the required Python packages by trial and error, I get stuck because my system's version of dpkg-architecture is too old to know about the loong64 architecture and fails when asked about it. Presumably this is all broken because I'm going about this in a completely and obviously wrong way. I don't just need any old Debian-based system from 2022 to build Debian's v6.8.12 kernel; I need a Debian-based system current to at least version X of the Debian userland's build helpers, and I perhaps need a 100% genuine non-forked-off Debian. *What environment exactly does the Debian kernel build tooling target?* Is only Debian unstable expected to be new enough to build the Debian kernel packages? Can I use Debian stable? Or oldstable? Is there some recommended process for building in a chroot or container, or do I need to first install a full OS setup on my host system if I want to cross-build Debian for an embedded target? Thanks, -Adam
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
I'm not able to cross-build a Debian kernel by following the instructions because I'm not sure what kind of host system is required Adam Novak <interfect@gmail.com> - 2024-06-15 04:50 +0200
csiph-web