All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Mardorf <ralf.mardorf@alice-dsl.net>
To: linux-rt-users@vger.kernel.org
Cc: "Willett, Tony" <st20214513@outlook.cardiffmet.ac.uk>
Subject: Re: Problems installing a real time kernel.
Date: Tue, 7 Jun 2022 21:47:25 +0200	[thread overview]
Message-ID: <20220607214725.639e0fc2@archlinux> (raw)
In-Reply-To: <CWXP265MB501198E1F104B6044E93E188A5A59@CWXP265MB5011.GBRP265.PROD.OUTLOOK.COM>

On Tue, 7 Jun 2022 13:24:06 +0000, Willett, Tony wrote:
>mailto:lab@panda:~/linux-5.13$ make -j8 deb-pkg

Hi,

a long time ago I was used to build Debian rt patched kernels. When I
migrated to Ubuntu I continued building kernels the Debian way.
Referring to a script I wrote in 2013 to build an Ubuntu linux-rt
package the Debian way:

export CONCURRENCY_LEVEL=8
make-kpkg clean
make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers

I exported CONCURRENCY_LEVEL=2. Since you are using make with
the -j8 option, it probably should be CONCURRENCY_LEVEL=8 for you.
However, I don't know what changed within the years. I build at least
one kernel after that seemingly not using the script, but don't have
notes at hand. I remember that before or after that time something
related to fakeroot changed, but IIRC I always used make-kpkg to build
Debian and Ubuntu kernel packages. Probably with something else, but
the --rootcmd fakeroot option.

The package containing the command make-kpkg was removed in 2020, see
https://tracker.debian.org/pkg/kernel-package . But some Debian
rekleases might still provide it. Ubuntu 20.04LTS and earlier still
provide it, see
https://packages.ubuntu.com/search?suite=focal&searchon=names&keywords=kernel-package
, but later Ubuntu releases don't.

If your Debian release's repos should provide it, consider to test
using make-kpkg, if not consider to ask on a Debian user mailing list
how to build a Debian kernel package nowadays.

Alternatively you could build and install a kernel without building a
package at all.

Nowadays I build kernel packages for Arch Linux only. Arch does use a
completely different package management.

Regards,
Ralf

  parent reply	other threads:[~2022-06-08  0:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07 13:24 Problems installing a real time kernel Willett, Tony
2022-06-07 17:35 ` Ahmed S. Darwish
2022-06-07 19:47 ` Ralf Mardorf [this message]
2022-06-08  8:54   ` Jeremy Jongepier
2022-06-14 10:35 ` Punit Agrawal

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=20220607214725.639e0fc2@archlinux \
    --to=ralf.mardorf@alice-dsl.net \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=st20214513@outlook.cardiffmet.ac.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.