LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-28-2019, 11:07 AM   #1
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Rep: Reputation: 149Reputation: 149
Announcing explodeinstaller :-).


Unpack your installer ISO images, change anything including initrd device nodes, repack them and automate it all as non-root.

https://github.com/bifferos/explodeinstaller

I've included a couple of example scripts: one to automatically create a target partition on /dev/sda on boot if the MBR is blank, and another to add VirtualBox guest additions to /extra.

regards,
Biff.

Last edited by bifferos; 07-29-2019 at 02:47 AM.
 
Old 07-28-2019, 04:37 PM   #2
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Python2? How many years ago have you started writing that?
 
Old 07-28-2019, 05:41 PM   #3
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 536

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
According to github commits about 12 hours ago
 
Old 07-28-2019, 05:47 PM   #4
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by average_user View Post
Python2? How many years ago have you started writing that?
Depends on isoparser, last released Feb 2017, which is seemingly not compatible with Python3.

Last edited by bifferos; 07-28-2019 at 06:04 PM.
 
Old 07-29-2019, 12:28 PM   #5
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
It works with python3:
Code:
$ pip3 install --user isoparser
Collecting isoparser
  Downloading https://files.pythonhosted.org/packa...ser-0.3.tar.gz
Installing collected packages: isoparser
  Running setup.py install for isoparser ... done
Successfully installed isoparser-0.3
Usage:

Code:
$ python3
Python 3.7.2 (default, Mar 10 2019, 14:53:48)
[GCC 5.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import isoparser
>>> iso = isoparser.parse("/media/data/slackware/slackware64-14.1-iso/slackware64-14.1-install-dvd.iso")
>>> iso.root.children
[<Record (file) name=b'ANNOUNCE.14_1'>, <Record (file) name=b'BOOTING.TXT'>, <Record (file) name=b'ChangeLog.txt'>, <Record (file) name=b'CHANGES_AND_HINTS.TXT'>, <Record (file) name=b'CHECKSUMS.md5.asc'>, <Record (file) name=b'CHECKSUMS.md5'>, <Record (file) name=b'COPYING'>, <Record (file) name=b'COPYING3'>, <Record (file) name=b'COPYRIGHT.TXT'>, <Record (file) name=b'CRYPTO_NOTICE.TXT'>, <Record (directory) name=b'EFI'>, <Record (directory) name=b'extra'>, <Record (file) name=b'FILELIST.TXT'>, <Record (file) name=b'GPG-KEY'>, <Record (directory) name=b'isolinux'>, <Record (directory) name=b'kernels'>, <Record (file) name=b'PACKAGES.TXT'>, <Record (directory) name=b'pasture'>, <Record (directory) name=b'patches'>, <Record (file) name=b'README.initrd'>, <Record (file) name=b'README.TXT'>, <Record (file) name=b'README_CRYPT.TXT'>, <Record (file) name=b'README_LVM.TXT'>, <Record (file) name=b'README_RAID.TXT'>, <Record (file) name=b'README_UEFI.TXT'>, <Record (file) name=b'READ_DVD.TXT'>, <Record (file) name=b'RELEASE_NOTES'>, <Record (directory) name=b'slackware64'>, <Record (directory) name=b'slackbook'>, <Record (file) name=b'Slackware-HOWTO'>, <Record (file) name=b'SPEAKUP_DOCS.TXT'>, <Record (file) name=b'SPEAK_INSTALL.TXT'>, <Record (directory) name=b'testing'>, <Record (file) name=b'UPGRADE.TXT'>, <Record (directory) name=b'usb-and-pxe-installers'>]
It's also confirmed here: https://github.com/barneygale/isoparser/issues/9
 
Old 07-29-2019, 12:55 PM   #6
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
That's not the code I was using to test it, but it doesn't matter. You now need the git version of pycdlib however, unless you wait for the 1.8 release.
But it should work with 2 or 3 now.
 
  


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
Announcing Amigo2.0 gnashley Amigo 0 10-01-2004 01:23 PM
Announcing Fedora Tracker usernamenumber Fedora 1 05-23-2004 10:16 PM
Announcing a restart to the Network scottpioso Linux - General 8 12-14-2003 03:39 PM
Fedora Project: Announcing New Direction misc Fedora 61 11-03-2003 07:40 PM
Announcing Slackware Linux 9.0! jeremy Slackware 1 03-20-2003 09:33 PM

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

All times are GMT -5. The time now is 06:27 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