LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-04-2010, 12:45 PM   #16
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330

put what?

mv etc,etc? or put what before the end bracket?
 
Old 02-04-2010, 12:46 PM   #17
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
this line
Code:
echo "mv /etc/rc.d/rc.4.new /etc/rc.d/rc.4" >> $startdir/pkg/install/doinst.sh
 
1 members found this post helpful.
Old 02-04-2010, 12:47 PM   #18
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
there is no doinst.sh....

I have to make one?
and pput it where?
 
Old 02-04-2010, 12:48 PM   #19
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
that line creates the file for you.

it says: write on screen the string "mv /etc/rc.d/rc.4.new /etc/rc.d/rc.4" and redirect the output in append mode (the ">>") to the file $startdir/pkg/install/doinst.sh

Last edited by ponce; 02-04-2010 at 12:52 PM.
 
1 members found this post helpful.
Old 02-04-2010, 12:52 PM   #20
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
here new ouput of ./build-slim.sh

Code:
Creating Slackware package:  /root/Desktop/SLIM/nubuild/slim-1.3.1-i486-1gv.txz

./
install/
install/slack-desc
install/doinst.sh
usr/
usr/bin/
usr/bin/slim
usr/man/
usr/man/man1/
usr/man/man1/slim.1.gz
usr/share/
usr/share/slim/
usr/share/slim/themes/
usr/share/slim/themes/icelite/
usr/share/slim/themes/icelite/background.jpg
usr/share/slim/themes/icelite/slim.theme
usr/share/slim/themes/icelite/panel.png
usr/share/slim/themes/default/
usr/share/slim/themes/default/background.jpg
usr/share/slim/themes/default/slim.theme
usr/share/slim/themes/default/panel.png
usr/src/
usr/src/slim-1.3.1/
usr/src/slim-1.3.1/slim-1.3.1.tar.gz
usr/src/slim-1.3.1/build-slim.sh
usr/src/slim-1.3.1/SLKBUILD
usr/doc/
usr/doc/slim-1.3.1/
usr/doc/slim-1.3.1/INSTALL
usr/doc/slim-1.3.1/ChangeLog
usr/doc/slim-1.3.1/COPYING
usr/doc/slim-1.3.1/README
usr/doc/slim-1.3.1/THEMES
usr/doc/slim-1.3.1/TODO
etc/
etc/rc.d/
etc/rc.d/rc.4.new
etc/slim.conf.new

Slackware package /root/Desktop/SLIM/nubuild/slim-1.3.1-i486-1gv.txz created.

Package has been built.
Cleaning pkg and src directories
we'll see if'n it works...
 
Old 02-04-2010, 12:55 PM   #21
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
you gotta tell us, we're curious.

Last edited by ponce; 02-04-2010 at 12:58 PM.
 
1 members found this post helpful.
Old 02-04-2010, 01:00 PM   #22
gapan
Member
 
Registered: Feb 2007
Posts: 343

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by linus72 View Post
Ha
hey Gapan, where do i put that command?
In a bash prompt, after you install the package.
 
1 members found this post helpful.
Old 02-04-2010, 01:02 PM   #23
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
that is too easy LOL
 
1 members found this post helpful.
Old 02-04-2010, 01:07 PM   #24
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
gotta tell us what ponce?

Gapan, its impossible to do it in a bash prompt
this is an install cd, at initial boot after installing it's gonna hit runlevel 4 and cink out as my rc.4 is being named rc.4.new and not overwriting the original...

any, ponce adding

echo "mv /etc/rc.d/rc.4.new /etc/rc.d/rc.4" >> $startdir/pkg/install/doinst.sh

didnt work....I just did the install from iso on hdd again with new slim.txz and it still makes a rc.4.new
 
Old 02-04-2010, 01:11 PM   #25
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
strange.
just a suggestion: maybe is better to ask about it on salix forums...
 
1 members found this post helpful.
Old 02-04-2010, 01:13 PM   #26
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
I wanna get this little iso uploaded today, and hope to overcome this seemingly small issue...

I replaced GDM on all my installs across 3 PC's and like 15 partitions with just Slim
SalixOS on 2 pcs now has slim vs gdm
got rid of gdm/xdm in my absolute installs too

I even run all my buntu's and debians with slim now
 
Old 02-04-2010, 01:14 PM   #27
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
What package in slack holds the original rc.4 script?
is it in the initrd?
no...

what package installs rc.d?
 
Old 02-04-2010, 01:15 PM   #28
gapan
Member
 
Registered: Feb 2007
Posts: 343

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by linus72 View Post
Gapan, its impossible to do it in a bash prompt
this is an install cd, at initial boot after installing it's gonna hit runlevel 4 and cink out as my rc.4 is being named rc.4.new and not overwriting the original...
You never mentioned you wanted to put it in a CD! In that case it won't work of course. You'll need to recreate the package, by editing the SLKBUILD file like this:
Code:
#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=slim
pkgver=1.3.1
pkgrel=1gv
arch=i486
source=slim-1.3.1.tar.gz
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "themes")
options=('noautodotnew')
dotnew=('etc/slim.conf')
url=http://slim.berlios.de/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"slim - Simple Login Manager"
"SLiM is a Desktop-independent graphical login manager for X11, derived"
"from Login.app. It aims to be light and simple, although completely"
"configurable through themes and an option file; is suitable for"
"machines on which remote login functionalities are not needed."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	sed -i "s/CFLAGS=/CFLAGS+= /" Makefile
	make || return 1
	make install DESTDIR=$startdir/pkg
	THEMES="icelite"
	for i in $THEMES; do
		cp -a $startdir/src/$i $startdir/pkg/usr/share/slim/themes
	done
	chown -R root:root $startdir/pkg/usr/share/slim/themes
	sed -i "s/current_theme\(.*\)/current_theme icelite/" $startdir/pkg/etc/slim.conf
}
You'll need to install slkbuild of course in order build the package using that SLKBUILD: http://download.salixos.org/i486/13....noarch-1gv.txz
Just install that, edit your SLKBUILD file and run slkbuild -X in the same directory.
 
1 members found this post helpful.
Old 02-04-2010, 01:18 PM   #29
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
OK
wait... I'm building the package from salix source for slim in SalixOS Gapan
so slkbuild is installed

that little command above will do what Gapan?
 
Old 02-04-2010, 01:19 PM   #30
gapan
Member
 
Registered: Feb 2007
Posts: 343

Rep: Reputation: 105Reputation: 105
That will build your package, using the SLKBUILD file present in the same directory. man slkbuild for more.
 
1 members found this post helpful.
  


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
Need help with package installs Bodrey Linux - Newbie 3 12-19-2009 10:47 PM
Urpmi package installs are failing iiibbb Mandriva 3 10-26-2006 09:06 AM
Which package installs what RPMS? unixgoose Fedora 3 05-25-2006 07:52 AM
Package not finishing installs jumper220 Fedora - Installation 1 04-02-2004 09:34 PM
package installs... mathfeel Fedora 4 12-01-2003 05:06 AM


All times are GMT -5. The time now is 05:35 AM.

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