LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-18-2011, 03:46 PM   #16
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115

Quote:
Originally Posted by allend View Post
Do not try to be too cute as this runs in BusyBox.
You mean like: don't add a test for an environment variable to be used to apply this option or not?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-18-2011, 06:25 PM   #17
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,408

Rep: Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834
Quote:
You mean like: don't add a test for an environment variable to be used to apply this option or not?
That should be fine.

My experiments with modifying the installer were confined to adding support for ntfs-3g as I wanted to PXE boot a minimal system on some Windows machines for imaging to an NTFS formattted external USB drive. I did come across some differences in the BusyBox versions of commands while playing with this. This was the source of my comment.
 
Old 03-18-2011, 09:15 PM   #18
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 475

Rep: Reputation: Disabled
Quote:
Originally Posted by Skaperen View Post
Do we really need this anymore? It's unreadable.

I'd rather see a list of packages being installed scroll by, one package name per line (with size info). Even that might get hard to read during the buzz of small packages being installed causing rapid scrolls.
It's not that bad. Really doesn't matter much to me what scrolls by. Most of the time I don't sit and watch.

You could always opt for prompt for everything, then there would be no problem reading.

Last edited by chrisretusn; 03-18-2011 at 09:17 PM.
 
Old 03-19-2011, 02:25 AM   #19
anti_user
Member
 
Registered: May 2008
Location: Russia, Ural
Distribution: Slackware Current
Posts: 69

Rep: Reputation: 4
Code:
Sat Mar 19 04:37:14 UTC 2011
a/pkgtools-13.37-noarch-2.tgz: Rebuilt.
       Add --terse one-line output mode to installpkg.
 
Old 03-19-2011, 04:42 AM   #20
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
Haha that was fast.

How about another last minute addition of adding a proper word dictionary so that I don't have to install hangman from the BSD games ;P

Last edited by lumak; 03-19-2011 at 04:44 AM.
 
Old 03-19-2011, 06:57 AM   #21
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by anti_user View Post
Code:
Sat Mar 19 04:37:14 UTC 2011
a/pkgtools-13.37-noarch-2.tgz: Rebuilt.
       Add --terse one-line output mode to installpkg.
I thought I would just try this out on one of my own self made packages:

Code:
# installpkg --terse opera-11.10.2053-i386-1ro.txz 
opera-11.10.2053-i386-1ro: fast and secure web browser and Internet suit [30M]
# grep -A1 DESCRIPTION /var/log/packages/opera-11.10.2053-i386-1ro
PACKAGE DESCRIPTION:
opera: A fast and secure web browser and Internet suite.
What happened to 'A' from the start and 'e.' from the end in the terse output? It seems like it is cropping from either end.

Probably not a major issue if you realise what it is doing but it might cause some people to be confused depending on how the description has been written.
 
Old 03-19-2011, 07:15 AM   #22
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,234

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
I thought I would just try this out on one of my own self made packages:

Code:
# installpkg --terse opera-11.10.2053-i386-1ro.txz 
opera-11.10.2053-i386-1ro: fast and secure web browser and Internet suit [30M]
# grep -A1 DESCRIPTION /var/log/packages/opera-11.10.2053-i386-1ro
PACKAGE DESCRIPTION:
opera: A fast and secure web browser and Internet suite.
What happened to 'A' from the start and 'e.' from the end in the terse output? It seems like it is cropping from either end.

Probably not a major issue if you realise what it is doing but it might cause some people to be confused depending on how the description has been written.
Your slack-desc file does not conform to the specs.
The first line should look like:

Code:
pkgname: pkgname (short description)
Since the first line of your slack-desc file is lacking the ( ) the effect of "--terse" is that the first and last character of your short description are cut off instead of the "(" and ")".

Eric

Last edited by Alien Bob; 03-19-2011 at 07:16 AM.
 
1 members found this post helpful.
Old 03-19-2011, 07:27 AM   #23
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by Alien Bob View Post
Your slack-desc file does not conform to the specs.
The first line should look like:

Code:
pkgname: pkgname (short description)
Opps. Yes you are right of course, it doesn't. Ok, I'll correct that now then! Thanks.
 
Old 03-19-2011, 07:36 AM   #24
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
I think I originally read about the formatting of the slack-desc here http://slackwiki.org/Slack-desc and looking back now it isn't clear on this point. Though I see from looking at the official packages that the method you describe is clearly correct.
 
Old 03-19-2011, 07:52 AM   #25
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,234

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
I think I originally read about the formatting of the slack-desc here http://slackwiki.org/Slack-desc and looking back now it isn't clear on this point. Though I see from looking at the official packages that the method you describe is clearly correct.
I updated the SlackWiki page http://slackwiki.org/Slack-desc so that this requirement is clear.

Eric
 
1 members found this post helpful.
Old 03-19-2011, 07:57 AM   #26
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by Alien Bob View Post
I updated the SlackWiki page http://slackwiki.org/Slack-desc so that this requirement is clear.
I saw that, thanks. I has just finished registering to do that myself and then saw that you beat me to the punch.

Last edited by ruario; 03-19-2011 at 08:09 AM.
 
Old 03-19-2011, 11:43 AM   #27
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 599

Rep: Reputation: 109Reputation: 109
Is just my biased feeling, or this thread should be marked as SOLVED, thinking that PV introduced the TERSE mode in installer?

Last edited by Darth Vader; 03-19-2011 at 11:52 AM.
 
Old 03-19-2011, 12:44 PM   #28
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Rep: Reputation: 40
Congrats to Skaperen for asking a good question & thanks to Pat & the Slackware guys for a quick implementation.
 
Old 03-19-2011, 05:24 PM   #29
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
Trying it now. Looks nice. Thanks to Pat and the team.
 
Old 03-19-2011, 05:42 PM   #30
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 599

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by Skaperen View Post
Trying it now. Looks nice. Thanks to Pat and the team.
Then, make this frakking thread solved, man!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Rethinking the Open Desktop LXer Syndicated Linux News 0 11-09-2010 03:11 PM
LXer: Rethinking Emphathy in Ubuntu 9.10 LXer Syndicated Linux News 0 08-25-2009 04:10 AM
LXer: Drizzle: Rethinking the MySQL Database Kernel LXer Syndicated Linux News 0 06-17-2009 01:20 AM
LXer: Linux: Rethinking Suspend and Resume LXer Syndicated Linux News 0 05-26-2007 06:02 PM
LXer: Rethinking Community Documentation LXer Syndicated Linux News 0 07-07-2006 07:03 PM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration