[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428)

AL13N alien at rmail.be
Sat Mar 23 08:02:31 CET 2013


Op zaterdag 23 maart 2013 14:51:11 schreef Glen Ogilvie:
> On 23 March 2013 11:57, Pascal Terjan <pterjan at gmail.com> wrote:
> > On 22 Mar 2013 22:21, "Glen Ogilvie" <nelg at linuxsolutions.co.nz> wrote:
> > > On 23 March 2013 05:12, AL13N <alien at rmail.be> wrote:
> > >> Op vrijdag 22 maart 2013 07:38:56 schreef Frank Griffin:
> > >> > On 03/22/2013 07:20 AM, Glen Ogilvie wrote:
> > >> [...]
> > >> 
> > >> > > 1. How does the src tar.xz file for drakx-installer-stage2 get
> > >> > > created?   I assume it comes from a
> > >> > > build of svn://svn.mageia.org/svn/soft/drakx/trunk
> > >> > > <http://svn.mageia.org/svn/soft/drakx/trunk>, but can't find how it
> > >> > > ends up as a tar.xz
> > >> > 
> > >> > I'm maybe about two days ahead of you on this, but here's what I
> > >> > think
> > >> > happens, FWIW.  You do your checkout, and then in the mdk-stage1
> > >> > subdirectory, do a "make dist-svn".  This should produce the tar.xz
> > >> > in
> > >> > the mdk-stage1 directory.
> > >> 
> > >> [...]
> > >> 
> > >> "make dist" actually...
> > >> 
> > >> it will target make "dist-svn" or "make dist-git" depending on if
> > 
> > you're using
> > 
> > >> git-svn or not.
> > >> 
> > >> be advised that dist-svn uses the BASE and any uncommitted change will
> > 
> > not be
> > 
> > >> applied.
> > >> 
> > >> dist-git however, you can commit without pushing them and that will be
> > 
> > used.
> > 
> > > I've had a good play around with make dist.
> > > It seems to me, like running make dist in the perl-install directory,
> > 
> > (svn://svn.mageia.org/svn/soft/drakx/trunk/ )
> > 
> > > does not produce the same tar.xz file as found within
> > 
> > drakx-installer-stage2 sources.
> > 
> > > For example, the tar.gz produced by "make dist" does not contain the
> > 
> > "kernel", "perl-install/install" directories, etc.
> > 
> > > Also, inside the tar, the first directory is: "drakxtools-15.29", rather
> > 
> > than "drakx-installer-stage2-15.29".  It is also
> > 
> > > only 2.4MB instead of about 4.3MB.
> > > 
> > > Any suggestions?
> > 
> > Yes, you need to go into install subdirectory (if I remember the name
> > correctly)
> 
> Ah, great.  Thank you.. That does the trick. :)
> 
> Would anyone mind if update
> https://wiki.mageia.org/en/Drakx-installer_tips_and_tricks, and then update
> the URL in the spec file of drakx-installer-stage2 to point to it, along
> with a comment on how to create the source tar.xz
> Current URL in the spec is: http://wiki.mandriva.com/Tools/DrakX  (which
> just goes to Mandriva's main wiki page)

no, it should go to a DrakX mageia wiki page instead. 

the installer tips and tricks link should be in the spec file, but i'd love it 
if you updated it with what you know by now...


More information about the Mageia-dev mailing list