LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-31-2005, 12:48 PM   #1
JOKe
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
Building an i666 debian sarge iso ?


Building an i686 debian sarge iso ? is it possible ? i just want the first 2 cds to be i686 packages ?
how can i rebuild my debian system after install the i386 debs to be i686 ?
how can i make distro rebuild ?
and how to grep the debs after this and put them into one iso ? or other way to do it ? ?
how can i use pbuilder ?
p.s. apt-build makes problems for me
 
Old 03-31-2005, 03:08 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
It's pointless since you won't gain much. Install libc6-i686 from the Debian repositories if you need 2% speed improvement.

I have compiled packages for i686 and never really noticed any improvements. It's a waste of your time, really. Don't go there, stop now, I'm not kidding.
 
Old 03-31-2005, 03:41 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Quote:
It's pointless since you won't gain much.
Exactly. I agree. Why do people want to spend days on end compiling Gentoo? You won't notice any speed difference.
 
Old 03-31-2005, 04:01 PM   #4
JOKe
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
hm its nice to have peoples like you

another question :
where can i find a nice and little doc for creating deb packages ?

another question :
i found this tutorial for creating deb responsy
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
dpkg-scansources . /dev/null | gzip -9c > Sources.gz

when i am in the deb packages dir right ?
why is this dev null and this . ( dot )

another thing is that this tutorials says after create a responsy users must add this lines

deb http://www.SomeURLBla.com/apt ./
deb-src http://www.SomeURLBla.com/apt ./

is this ./ for the dot beffore ?
and why is this /apt ?
 
Old 03-31-2005, 04:10 PM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
http://www-106.ibm.com/developerwork.../l-debpkg.html

Is a good starting point for packaging.
 
Old 03-31-2005, 07:58 PM   #6
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Quote:
Originally posted by Moloko
...Install libc6-i686 from the Debian repositories if you need 2% speed improvement..
Thanx for the tip................I always feel the need for speed....
 
Old 04-01-2005, 07:16 AM   #7
JOKe
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by m_yates
http://www-106.ibm.com/developerwork.../l-debpkg.html

Is a good starting point for packaging.
oki i readed this but after creating the control file what i must do ?
what to put in the BUILDDIR to start building the deb package with the command :
dpkg -b directory packagename.deb
 
Old 04-01-2005, 08:03 AM   #8
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
I think you don't want to build packages, but built them from the Debian source, right? No need for control files then.

Place deb files into a directory and run:
find . -name '*.deb' > overridefile
dpkg-scanpackages . overridefile | gzip > Packages.gz

Add the directory to the sources.list:
deb file:///path/to/debs ./
apt-get update && install [packagename]

To built packages in the directory, go to the directory and run:
apt-get -b source [packagename]

Remember to add source addresses to the sources.list (deb-src) and read about APT-Pinning to prevent upgrades from overwriting your self-compiled packages.

You also need to export the proper gcc flags before compiling or it will make no difference at all.

http://linuxreviews.org/howtos/compiling/
http://www.debian.org/doc/manuals/ap...pt-get.en.html

Last edited by Moloko; 04-01-2005 at 08:05 AM.
 
Old 04-01-2005, 08:45 AM   #9
JOKe
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
the post before with the control file was for only the source packages not debian source packages
i download somethink.tar.gz
creating CONTROL file
and then what
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
building iso for 64 bit gsrikanth Linux - General 1 05-27-2005 08:12 AM
Sarge iso files tamoneya Debian 5 01-23-2005 09:32 PM
Is there a non-us debian sarge-sparc-1.iso ? NeeD_ResT Debian 0 10-31-2004 05:26 PM
Debian Sarge ISO images and/or downloading wellmt Debian 3 10-11-2004 03:52 AM
debian-sarge-netinst.iso (powerpc) sebyte Debian 9 10-06-2004 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration