Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ [1] 2 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How do I create a .dsl from source/binaries?< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 02 2007,14:51 QUOTE

There's nothing about that in the wiki nor this forum.. Atleast I couldn't find anything from the forum search..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 02 2007,17:03 QUOTE

There is information in the wiki:
http://damnsmalllinux.org/wiki/index.php/Creating_MyDSL_Extensions

Although it does not cover all possible methods, it does explain a few of the more common methods.

Basically, any means of getting an application running in DSL can be used as a base for a mydsl extension.  The main things to consider, in my experience, are:
1) The application itself must run well in DSL, before even considering the mydsl package.
2) The myDSL package should not contain any files, including directories, which may clobber existing files. Clobbering includes overwriting existing files with potentially conflicting versions of the same file or files that have different ownership and/or file permissions.
3) The application's license must allow redistribution without penalty to receiving parties (GPL-compatible licenses are ideal).


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 03 2007,10:10 QUOTE

I was going to create an extension for grub 0.97 with splash support. I thought I'd make an install script which would backup the current grub say to grub.old.tar.gz and then extract the new files, thus avoiding overwriting.. It is gpl, but would making this kind of extension be okay? I mean a tar.gz not able to install through the mydsl system, but through a script..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 03 2007,18:45 QUOTE

If it requires a script to install, it will probably need to be looked into and tested more thoroughly than most other extensions, just to make sure it's safe to distribute. You might think of it as similar to the gtk2 extension, which needs to be "enabled" before using. With a grub extension, however, there's no way to know where the user wants to install teh bootloader itself (in the mbr, a partition, floppy), so it might be best simply to have the application files installed normally and leave it up to the user to run grub-install to install the bootloader.

As far as the bootsplash goes, I have no idea if it's possibe to use this freature from a mydsl extension, since I assume it would need to be installed before grub loads.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 04 2007,12:00 QUOTE

I just looked at the previous grub extension. It seems to be a normal tar.gz, but tar is in posix format, not gnu (is it a must?)

The previous grub extension overwrites the earlier grub files (if any), so it is a clobberer by your point 2, but it got accepted, didn't it? So I could just make a .dsl extension..

And it ain't bootsplash, it's grub splash, which shows an image only on the grub screen. In hd-install everything would work right out of the box, in frugal I guess /boot needs to be a separate partition, so that grub can fetch the image there (doesn't it fetch the stage1_5 and stage2 files from /boot/grub always? How then can frugal boot using grub if those are compressed?)

Also it can get the image from any folder, so the images could be put to some folder on the partition for frugal.

One more point: I only thought about a script 'cause you told to avoid overwriting. It was only going to backup the old grub ;)


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
21 replies since Mar. 02 2007,14:51 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ [1] 2 3 4 5 >/
reply to topic new topic new poll
Quick Reply: How do I create a .dsl from source/binaries?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code