From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514907984160620544 X-Received: by 10.25.123.3 with SMTP id w3mr2002887lfc.41.1517251605498; Mon, 29 Jan 2018 10:46:45 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.125.135 with SMTP id y129ls125994lfc.16.gmail; Mon, 29 Jan 2018 10:46:44 -0800 (PST) X-Google-Smtp-Source: AH8x227OehaDlrVGuArpDwzPfce3K2TemImVgrfgPmU3CjC+2lHZRYy21Nh6gjTr+C/X6ITw4wl2 X-Received: by 10.25.199.73 with SMTP id x70mr1919077lff.6.1517251604938; Mon, 29 Jan 2018 10:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517251604; cv=none; d=google.com; s=arc-20160816; b=bqCLEg8n9a1SEKHl6YfPwQaVnnkOeJU+5kl/i4A8DfbeKnvNuEe9jpzCIumTGciWE8 E9KkmpfPSZDEgvJbADRHg8iA0HPqp0hfXVu8LrZf/kZGAldefsEna73PEH54ahFc+uS5 DFs5LZty1GqFmdb1tgitwlRGHw2TAycbvPkLzZvwQzH7wGJ58N0ET/pYJnPD2CTX0KGO PEfm7hwZjR20cmkDZ1EB5Y1am6AR4PVviJeQ4wnu3pTJiNmc4cfHh2ZE2BMLPSa7c78l F+PShyeCxhztGVYBCyAA59nJ1wp07NRIVfVrEy4Y1TjokTkDKutbQMFt4i8tcCFeCeuh wQpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=TMKJzxE0uwleyyAQf5HjMvH/S8mmiARzFOYXmsG28eg=; b=Rg1qMwFfPcdHbrFZoBErkyhLowT3fp6oi2LsgMYEYZqlX9/9iV1voU9W+2xauQhKF0 0ACW7NGc3vKDdPEjwsctssEhkBNt9gyTdmVXG3Wm/1i+/SJu1OtPRzdwc7C//lPXy3/J clGCnOOlU+WMheqoUIUd8V16DYjna1m0xAcust9uJvHMkOREv+H/IASBfy2AR6xoe2iv CCt+pAwQx6yNFIBEoAQmI48pSPRECK2PfyqxaJYDesYkckmkNzkNc/AqdOd+T+HPmua2 fITvuPWHAYbTdEdHhWsECEQwuJgCTHlvY/l+8NqFq2R5w3Cjrda2dIdzT1uldzr+sKUd WHYA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id l26si1205843lja.0.2018.01.29.10.46.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 10:46:44 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w0TIketo015367 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Jan 2018 19:46:40 +0100 Received: from mmd1pvb1c.ad001.siemens.net ([167.87.33.62]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w0TIkdkK024095; Mon, 29 Jan 2018 19:46:39 +0100 Date: Mon, 29 Jan 2018 19:46:56 +0100 From: Henning Schild To: "[ext] Jan Kiszka" Cc: isar-users , Ben Hutchings Subject: Re: Custom kernel build - best way to generate a package Message-ID: <20180129194656.23098d9f@mmd1pvb1c.ad001.siemens.net> In-Reply-To: <5e24fe4d-7592-45b4-daa4-690d6fc6823e@siemens.com> References: <5e24fe4d-7592-45b4-daa4-690d6fc6823e@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: CdjHd0fQM8ZO Am Thu, 25 Jan 2018 09:50:14 +0100 schrieb "[ext] Jan Kiszka" : > Hi all, > > as indicated before, I'm looking into providing a framework for isar > to help users with building their own kernel packages from > un-debianized kernel sources. I'm now scratching my head how to do > that best. Options I'Ve found so far: > > 1. make bindeb-pkg (from upstream kernel) > > Downside: currently requires patches to feed in missing runtime > dependencies of the generated package. Also, it seems this is not > designed to create full replacements of the standard debian kernel > packages. Might be an uphill battle on the long run. We do have an internal recipe to build a kernel like that. Ben suggested that as a viable approach. I later found that such a kernel has a pretty broken control-file and suggested an upstream patch. https://lkml.org/lkml/2017/11/27/659 > 2. Provide debian/ folder in isar so that dpkg_runbuild works > > Question is here where to pick up the debian/ folder from. The > original debian kernel package? The version that Frank once create > as demo [1] (BTW, how was it created?)? Maybe Ben can enlighten us, i guess the folder is maintained for a specific kernel and can not be fetched from somewhere to match a wide range of versions. > 3. make-kpkg > > Still unclear to me what pros and cons are here. I think that one is dying and we would have to have a close look at the control-information, probably also broken. Last thing i remember from another project is, that it produced broken header-packages. Maybe there is a 4. and 5. that we are not aware of? Ben? Henning > Any comments / suggestions would be highly appreciated! > > Thanks, > Jan > > [1] > https://github.com/ilbers/linux/commit/b7ab449238b8e59943849a10c95d578aa01d70e7 >