From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMeUs-0002n5-LP for ptxdist@pengutronix.de; Sun, 27 Sep 2020 23:46:18 +0200 Received: from rhi by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1kMeUs-0003c2-Bp for ptxdist@pengutronix.de; Sun, 27 Sep 2020 23:46:18 +0200 Date: Sun, 27 Sep 2020 23:46:18 +0200 From: Roland Hieber Message-ID: <20200927214618.mcsvhxjq7mrypjng@pengutronix.de> References: <20200921221728.3229-1-rhi@pengutronix.de> <20200921221728.3229-7-rhi@pengutronix.de> <20200922094622.GG11021@pengutronix.de> <20200923122259.4ikbjceje6zhvzsc@pengutronix.de> <20200924134218.GK11021@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200924134218.GK11021@pengutronix.de> Subject: Re: [ptxdist] [PATCH 7/7] ptxdist: add 'init' commands to create new configs List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Thu, Sep 24, 2020 at 03:42:18PM +0200, Michael Olbrich wrote: > On Wed, Sep 23, 2020 at 02:22:59PM +0200, Roland Hieber wrote: > > On Tue, Sep 22, 2020 at 11:46:22AM +0200, Michael Olbrich wrote: > > > On Tue, Sep 22, 2020 at 12:17:28AM +0200, Roland Hieber wrote: [...] > > > > +# PTXCONF_KERNEL_CONFIG_BASE_VERSION is not set > > > > +PTXCONF_KERNEL_SERIES="series" > > > > +PTXCONF_KERNEL_CONFIG="kernelconfig-${PTXCONF_KERNEL_VERSION}" > > > > > > I thought I changed that default. Please change this and the default value > > > to just "kernelconfig". The version just causes problems in most cases. > > > > Oh, right. I remember a discussion about it. I've sent a separate patch for this in <20200927214336.23382-1-rhi@pengutronix.de> since this series needs some more thought. [...] > > > > +endchoice > > > > diff --git a/rules/init_defconfig b/rules/init_defconfig > > > > new file mode 100644 > > > > index 000000000000..9fa9ab00a60b > > > > --- /dev/null > > > > +++ b/rules/init_defconfig > > > > @@ -0,0 +1,21 @@ > > > > +# PTXCONF_ALLYES is not set > > > > +# PTXCONF_BROKEN is not set > > > > +PTXCONF_FIX_PERMISSIONS=y > > > > +PTXCONF_PROJECT_VERSION="-${PTXDIST_BSP_AUTOVERSION}" > > > > +# PTXCONF_PROJECT_CREATE_DEVPKGS is not set > > > > +# PTXCONF_PROJECT_USE_DEVPKGS is not set > > > > +PTXCONF_PROJECT_DEVPKGDIR="" > > > > +PTXCONF_PROJECT_DEVMIRROR="" > > > > +# PTXCONF_PROJECT_CHECK_LICENSES is not set > > > > +PTXCONF_REPRODUCIBLE_TIMESTAMP_PTXDIST=y > > > > +# PTXCONF_REPRODUCIBLE_TIMESTAMP_TOOLCHAIN is not set > > > > +# PTXCONF_REPRODUCIBLE_TIMESTAMP_CUSTOM is not set > > > > +# PTXCONF_REPRODUCIBLE_TIMESTAMP_STRING is not set > > > > +PTXCONF_DEBUG_PACKAGES=y > > > > +# initmethod will enable the following busybox tools if needed: > > > > +# PTXCONF_BUSYBOX_HALT is not set > > > > +# PTXCONF_BUSYBOX_INIT is not set > > > > +# PTXCONF_BUSYBOX_POWEROFF is not set > > > > +# PTXCONF_BUSYBOX_REBOOT is not set > > > > +# PTXCONF_BUSYBOX_RUNLEVEL is not set > > > > +# PTXCONF_STAGING is not set > > > > > > How can we keep these files up-to-date? > > > > I guess like for everything else: patches or bug reports if someone > > notices that it's broken. And the only way it can break will just lead > > to more unnecessary questions being asked, which is a bit annoying but > > not a tragedy, or defaults from the Kconfig options being used, which > > should be fine. > > This just helps for new options, not old ones. Those just pile up. > > > Alternatively I think kconfig has a "save_defconfig" function which > > could help us. > > The problem is that we want to provide defaults only for some of the > options. I think I'll solve this problem differently in v3. Since the other patches are unrelated to this one, if you don't have anything else against them, feel free to apply them already. - Roland -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de