Results 1 to 7 of 7

Thread: Scripts to make KNOPPIX->custom easier . . .

  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    3

    Scripts to make KNOPPIX->custom easier . . .

    I've been developing my own custom KNOPPIX-based images because I had requirements that weren't met by any of the existing images (hyper-recent kernel support, smb support, man pages 'cause I can't remember anything, etc.) and didn't have requirements that some of the others had (I don't need X, in particular).

    It occurred to me that at some point in the future, I might need to take an even more recent KNOPPIX image and customize it again, and that life would be far easier if I documented the whole process. Or, rather, scripted it. So what I'm _planning_ to do is this:

    Write Perl scripts that, with a modicum of user intervention, allow a user to take a knoppix_base directory (that has the contents of KNOPPIX/KNOPPIX in it) and a knoppix_custom directory and generate a "transform" file - lists of packages to remove, packages to add, files to remove (for things not covered by packages), files to add or modify, etc.

    Then I plan to write more scripts that, with somewhat more user intervention, will make it possible to replay these transforms against a newer KNOPPIX image. Of course, since the roster of packages in KNOPPIX will have changed, along with dependencies and all of that, the replay system will be designed to anticipate all of the potential problems and to alert the user to them so that the transforms can be properly modified to deal with the update KNOPPIX stuff.

    Before I do all this, though, I thought I'd ask if anyone has done this. It seems stupid to reinvent the wheel. Also, if I do all of this, do you think anyone would ever use them (assuming I provided some sort of minimal documentation, at least as detailed as, if not more than, the KnoppixRemasteringHowto)? There's nothing I hate worse than spending a whole bunch of time documenting something and trying to make it friendlier for others than to discover that I'm the only person in the world with my needs and that I've wasted my time trying to help people who don't need or want helping (see half of my Perl modules - some of them are getting used, though, and every time someone tells me).

    Also, any hints on how I should go about this? I have a pretty good general idea, but if anyone knows of tricks or traps in talking to dpkg from Perl, please let me know!

    --Toby Everett

  2. #2
    Junior Member
    Join Date
    May 2003
    Posts
    3
    I forgot to add, although it might be obvious, that I'm doing this from the perspective of making images that are seriously pared down (i.e. business card sized). KNOPPIX out of the box has almost everything I need, except that it doesn't fit in my wallet, and I can't stick another 650MB of stuff on the CD if I need to!

    --Toby Everett

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    Yes, I like the idea. However, may be Morphix is a better base to work on. I like its idea of multiple clooped modules as well as translucency which make local upgrade possible(don't know how stable the translucency driver is though).

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    teverettak: I'd be interested.. I'm currently writing my own for exactly the same purpose.

    I'm using bash and knx-remaster python scripts [1].

    Currently I can apply custom KDE theme, rip off the packages I don't need and add my own. Scripts are basicly frontends to knx-remaster not very much work has been done but I have the idea what I want to achieve.

    If you are going to work on this project I would be very interested in helping with testing/suggestion and hopefully contributing.

    [1] http://homepage.hispeed.ch/py430/knoppix/

  5. #5
    Junior Member
    Join Date
    May 2003
    Posts
    3
    Come to think of it, there's nothing in these scripts that would be Knoppix specific. The scripts should be capable of taking any dpkg based image and comparing it with another. With that in mind, it should work fine with Morphix. As for knx-remaster, I'm looking at that right now, but it doesn't address a number of my big issues:
    * ability to take already customized image and compare it to the Knoppix source
    * ability to verify a replay against a new image

    It looks, however, like the two of them can work hand-in-hand. That is to say, use knx-remaster to create your new custom image, hand-tweak it as you desire, and then say, "Oh, I need to figure out how to replay that against the latest rev of Knoppix - let me compare the images, generate a replay, etc., etc."

    With that in mind, I will forge on

    --Toby Everett

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Is there any progress in this project yet?

  7. #7
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    teverettak:

    if you look at howtos they basicly tell you what to do in chrooted enviroment and how to tweak certain system files. Writing script for that shouldn't be too much of a problem.

    But how do you plan to compare two images?

    I guess you could compare package list and and certain files that you mannualy changed.. but nothing more?

Similar Threads

  1. Remastering just got easier?
    By mzilikazi in forum Customising & Remastering
    Replies: 3
    Last Post: 03-16-2005, 10:14 PM
  2. Easier way to use a camera in linux?
    By ZeroKun in forum The Lounge
    Replies: 12
    Last Post: 01-09-2005, 01:29 PM
  3. HDD install with KNX2HD and KNX-HDINSTALL easier than ever
    By godot in forum Hdd Install / Debian / Apt
    Replies: 30
    Last Post: 06-13-2004, 03:15 PM
  4. nVidia hindsight - ok, but what is easier?
    By nrj in forum General Support
    Replies: 3
    Last Post: 12-17-2003, 06:23 AM
  5. custom kernel with make-kpkg
    By hugo in forum Customising & Remastering
    Replies: 2
    Last Post: 10-30-2003, 12:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lot 100 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Reg Server Memory RDIMM RAM picture

Lot 100 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Reg Server Memory RDIMM RAM

$9599.00



128GB (2x64GB) NEW Crucial Micron DDR5 5600 Desktop RAM UDIMM (CP2K64G56C46U5) picture

128GB (2x64GB) NEW Crucial Micron DDR5 5600 Desktop RAM UDIMM (CP2K64G56C46U5)

$2085.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK picture

SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK

$169.95



TEAMGROUP Elite 32GB 1x32GB DDR5 5600 SODIMM CL46 Laptop Memory #TG picture

TEAMGROUP Elite 32GB 1x32GB DDR5 5600 SODIMM CL46 Laptop Memory #TG

$349.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Corsair Vengeance 16GB DDR4-3200 SO-DIMM CMSX16GX4M1A3200C22 picture

Corsair Vengeance 16GB DDR4-3200 SO-DIMM CMSX16GX4M1A3200C22

$65.00



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$85.00