From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-eopbgr60073.outbound.protection.outlook.com ([40.107.6.73] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2HS4-0000Sq-CX for ptxdist@pengutronix.de; Wed, 20 Jan 2021 18:39:29 +0100 From: Christian Melki Message-ID: Date: Wed, 20 Jan 2021 18:39:29 +0100 Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] Ptxdist lightweight packaging usecase. List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de, christian.melki@t2data.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Hi. I'd like to package (docker) a complete ptxdist build environment for a target platform but as light as possible. Since most application developers do not care about platform stuff, but still need to build images from time to time. So now I have this question: Can I purge build and still produce results? If I build a platform and remove src, platform-X/build-target, platform-X/build-host the actual storage requirements for a docker becomes _far_ less. All state are kept so I'd want the user to be able to do clean && compile for his rules. Also I'd like to be able to do a complete go && images. The major caveat seems to be the sources directory. If I whipe the sources, ptxdist tries to rebuild stuff, even if there is no file (not changed, missing) and all states are completed. Get, prepare, compile, install etc. Is there a proper way ptxdist can accomodate this usecase? I don't find it unresonable. There is little point in keeping everything or every user producing every bit of the result. Storage requirements is only like 10% of the original. Far easier to keep complete states of releases as fast checkpoints for minor corrections. _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de