Post here if you are a new Porteus member and you're looking for some help.
-
libernux
- White ninja

- Posts: 28
- Joined: 01 Nov 2011, 17:36
- Distribution: porteus v3.1 32bit XFCE
- Location: Netherlands
Post#1
by libernux » 24 Mar 2015, 13:55
I was born with nothing and I still got most of it.
libernux
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#2
by fanthom » 24 Mar 2015, 21:51
get packages from slackware + pkgs.org then convert them to modules.
please mind that with this method you'll get Slackware live rather than Porteus live (some Porteus specific cheatcodes and features will be missing).
or better:
- unpack core module
- run 'ROOT=/path/unpacked_module removepkg some_pkg' and the same for installpkg
reference:
http://www.fiveanddime.net/man-pages/installpkg.8.html
Please add [Solved] to your thread title if the solution was found.
fanthom
-
fanthom
- Moderator Team

- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#3
by fanthom » 25 Mar 2015, 21:35
I assume one possible reason the devs used "base" bundles instead of modules is so n00bs won't brick the distro.
IMHO... I'm not a n00b and in any case I backup so bricking is moot.
this is correct.
please contact me through
[email protected] and i will upload what i have for you. please mind that i wont provide ANY support for this and for the custom Porteus build you make. i simply have no time for this - sorry about that.
Please add [Solved] to your thread title if the solution was found.
fanthom
-
neko
- DEV Team

- Posts: 2113
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Post#4
by neko » 26 Mar 2015, 02:12
@blue4meridian
I separate a module roughly into packages depending on the information of "/var/log/packages"
by the following script.
The unseparated results (symbolic linkages, etc.,) are separated manually.
#================================================================================
#! /bin/sh
move()
{
for DIR in `cat all/var/log/packages/$1 | sed -n '/^FILE LIST:$/,//p' | grep -v '^FILE LIST:$' | tr ' ' '!' `
do
if [ $DIR = "./" ]
then
continue
fi
DIR=`echo $DIR | tr '!' ' ' `
if [ -d "all/$DIR" ]
then
if [ ! -h "all/$DIR" ]
then
mkdir -p "pkg/$1/$DIR"
if [ "${DIR:0:10}" = "home/guest" ]
then
chown guest pkg/$1/$DIR
chgrp guest pkg/$1/$DIR
fi
continue
fi
fi
mv "all/$DIR" "pkg/$1/$DIR" 2>/dev/null
done
mkdir -p pkg/$1/var/log/packages
mv all/var/log/packages/$1 pkg/$1/var/log/packages/. 2>/dev/null
}
mkdir -p pkg
for PKG in `ls all/var/log/packages` ;
do
echo $PKG
move $PKG
done
#================================================================================
neko
-
Ed_P
- Contributor

- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#5
by Ed_P » 28 Mar 2015, 19:52
A
very impressive script
neko. Thank you for sharing it.

Ed_P