From: "Asbjørn Sloth Tønnesen" <asbjorn@asbjorn.biz>
To: Sven-Haegar Koch <haegar@sdinet.de>
Cc: Michal Marek <mmarek@suse.cz>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
debian-kernel@lists.debian.org
Subject: Re: [PATCH] kbuild, deb-pkg: select userland architecture based on UTS_MACHINE
Date: Sat, 06 Nov 2010 19:04:40 +0000 [thread overview]
Message-ID: <4CD5A6C8.8030603@asbjorn.biz> (raw)
In-Reply-To: <alpine.DEB.2.02.1011051437500.13287@aurora.sdinet.de>
On 11/05/2010 01:42 PM, Sven-Haegar Koch wrote:
> On Fri, 5 Nov 2010, Asbjoern Sloth Toennesen wrote:
>
>> Instead of creating the debian package for the compiling userland,
>> create it for a userland matching the kernel thats being compiled.
>
>> Eg. with this patch the following make command:
>>
>> make ARCH=i386 deb-pkg
>>
>> will output an i386 Debian package instead of an amd64 one,
>> when run on an amd64 machine.
>
> How do I either select a differnet package-arch or reverse to the
> current way?
>
> I am right now using 'make ARCH=x86_64 deb-pkg' on a 32bit userspace
> environment running with a 64bit kernel, wanting to create packages to
> be installed in this i386 arch.
>
> (As I want 64bit support where possible (mostly for AES-NI support in
> dm-crypt), but don't have the time available to do a complete userspace
> reinstall and reconfiguration)
Sounds like an one off thing, so in your case forcing the installation
should work:
dpkg --force-architecture linux-image-*.deb
The problem with that approach is that it doesn't work with APT, but I
doubt that there are any private APT repositories with this environment.
The issue with one kernel and 2 userspaces will also arise in sparc,
when the sparc64 userland gets going. So it will need to be dealt with
at some point, so I create a 3 lines additional patch for it.
next prev parent reply other threads:[~2010-11-06 19:04 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 23:31 [PATCH] kbuild, deb-pkg: fix Architecture field when cross compiling Asbjoern Sloth Toennesen
2010-11-03 22:57 ` Michal Marek
2010-11-03 23:25 ` Michal Marek
2010-11-04 1:42 ` Asbjørn Sloth Tønnesen
2010-11-04 2:42 ` Asbjoern Sloth Toennesen
2010-11-04 3:38 ` Asbjørn Sloth Tønnesen
2010-11-04 3:44 ` Asbjoern Sloth Toennesen
2010-11-04 5:58 ` Sam Ravnborg
2010-11-04 12:29 ` Asbjørn Sloth Tønnesen
2010-11-04 12:36 ` Michal Marek
2010-11-04 13:33 ` Asbjørn Sloth Tønnesen
2010-11-05 12:32 ` [PATCH] kbuild, deb-pkg: select userland architectire based on UTS_MACHINE Asbjoern Sloth Toennesen
2010-11-05 12:41 ` maximilian attems
2010-11-05 13:29 ` Asbjørn Sloth Tønnesen
2010-11-05 13:30 ` [PATCH] kbuild, deb-pkg: select userland architecture " Asbjoern Sloth Toennesen
2010-11-05 13:36 ` maximilian attems
2010-11-05 13:42 ` Sven-Haegar Koch
2010-11-06 19:04 ` Asbjørn Sloth Tønnesen [this message]
2010-11-06 19:05 ` [PATCH] kbuild, deb-pkg: support overriding userland architecture Asbjoern Sloth Toennesen
2010-11-07 8:24 ` Américo Wang
2010-11-25 14:37 ` Michal Marek
2010-11-25 19:10 ` Sam Ravnborg
2010-12-08 21:35 ` [PATCH v2] " Asbjoern Sloth Toennesen
2010-12-09 14:24 ` maximilian attems
2010-12-09 15:23 ` Asbjørn Sloth Tønnesen
2010-12-09 15:24 ` [PATCH v3] " Asbjoern Sloth Toennesen
2010-12-09 15:34 ` Michal Marek
2010-12-09 15:42 ` Asbjørn Sloth Tønnesen
2010-12-12 17:39 ` [PATCH v4] " Asbjoern Sloth Toennesen
2010-12-20 15:53 ` Michal Marek
2010-12-03 17:48 ` [PATCH] " maximilian attems
2010-12-03 19:37 ` Asbjørn Sloth Tønnesen
2010-11-25 14:35 ` [PATCH] kbuild, deb-pkg: select userland architecture based on UTS_MACHINE Michal Marek
2010-11-05 12:44 ` [PATCH] kbuild, deb-pkg: select userland architectire " Asbjørn Sloth Tønnesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CD5A6C8.8030603@asbjorn.biz \
--to=asbjorn@asbjorn.biz \
--cc=debian-kernel@lists.debian.org \
--cc=haegar@sdinet.de \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®