From: Alex Bligh Subject: Re: Xen4.2 debian packaging Date: Mon, 25 Feb 2013 20:46:09 +0000 Message-ID: <65A5A13AA7E2781D12DC1DA0@Ximines.local> References: <73B7FEB65DB959FF75707D5A@nimrod.local> <20130222174010.GC40494@ocelot.phlegethon.org> <044C88EAD95AA5B1839F9185@nimrod.local> <20130225131248.GA78606@ocelot.phlegethon.org> <676025980A510BB081BC128B@Ximines.local> Reply-To: Alex Bligh Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Lars Kurth , Stefano Stabellini , Dario Faggioli , "Tim (Xen.org)" , Xen Devel , Alex Bligh List-Id: xen-devel@lists.xenproject.org Stefano, --On 25 February 2013 20:14:33 +0000 Stefano Stabellini wrote: > On Mon, 25 Feb 2013, Alex Bligh wrote: >> However, that isn't the end of the story. If you want a lightweight >> deb that doesn't take 39 years to build and is integrated into the >> build system (because you are a developer), the minideb thing is >> far easier (as it's just an extra make step), than debuild -us -uc -b, >> dealing with all the debian/ubuntu patches that get applied to the >> source, etc. etc. > > That's all good, but how does it compare to the deb target of the > xen-unstable build system? How does the minideb thing compare? It's exactly the same, except: * it misses the files that aren't needed for a minimal xl based install. So, for instance, no header files. * I made the init scripts do something useful (arguably this change should be brought over to the main debian target). >From memory I copied mkdeb: https://github.com/abligh/xen-4.2-live-migrate/blob/ffbfc9394a74d0344be5982a5fed9aa9fa28ad74/tools/misc/mkdeb and made this: https://github.com/abligh/xen-4.2-live-migrate/blob/ffbfc9394a74d0344be5982a5fed9aa9fa28ad74/minideb/mkdeb > I think we are not going to have two different deb build targets, so > given that we already have one, we would replace it only if your minideb > is better in some ways. Well, the init scripts work (though those could be copied across). I suppose given they are so similar one route would be a 'what would you like in your .deb' parameter (e.g. 'make deb SRC=0') As I said, I'm really not that fussed as it 'works for me'. -- Alex Bligh