ArchLinux packages manager for Porteus
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
1. "Please let me understand, if this is not abusing."
I don't have a direct answer for your understanding.
Now I study on Arcklinux.
Its purpose is to build Porteus ISO that is constructed with ArchLinux packages.
I needed tools that makes this study power up.
This SPM is very useful for getting ArchLinux packages.
2. "Is there a simple way, a command to find the package associated with the library ?"
For all distros, there might not be a useable tool.
But, for a specific distro there might be.
For example, there is the USM in Porteus.
This function is the key of a package management tool.
This SPM, GUI tool, has the function.
3. or "do you have to find them one by one with websearch?"
Yes, I have to do so.
But, first I try to search by these SPMs (include 'SPM for debian type').
It is a short cut way for me.
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
1.acuiUpdate
update archlinux modules
2.acuiGetL
get packages of a package list
and create the module constructed with the gotten packages.
Please refer the second article of this thread.
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
=== Creating a minimum archlinux ISO that is formed under Porteus basic frame. ===
The first trial.
note:
[32bit/64bit] is depending on your running Porteus [32bit/64bit].
The command prompt [#/%] is means that user is [root/guest].
1.prepare
(1)minimum Porteus ISO
Porteus-XFCE-v3.1-i486.iso/Porteus-XFCE-v3.1-x86_64.iso
http://dl.porteus.org/i486/current/Port ... 1-i486.iso
http://dl.porteus.org/x86_64/current/Po ... x86_64.iso
(2)small archlinux ISO
archlinux-2015.10.01-dual.iso (658.0 MB)
https://www.archlinux.org/releng/releases/2015.10.01/
(3)other tools
upkernel-4.2.5-noarch-1.xzm
http://www.mediafire.com/download/ead3o ... arch-1.xzm
Please refer to http://forum.porteus.org/viewtopic.php? ... 788#p34856
2.create Porteus frame
[32bit]
Code: Select all
# activate upkernel-4.2.5-noarch-1.xzm
# upakernel4 Porteus-XFCE-v3.1-i486.iso
# deactivate upkernel-4.2.5-noarch-1.xzm
# mv UP.Porteus-XFCE-v3.1-i486.iso Base-i486.iso
# mloop UP.Porteus-XFCE-v3.1-i486.iso
# mkdir Base-i486
# cp -a /mnt/loop/* Base-i486/.
# uloop
# rm UP.Porteus-XFCE-v3.1-i486.iso
# rm Base-i486/porteus/base/00[123]*
# rm Base-i486/porteus/base/04*
3.1.boot archlinux-2015.10.01-dual.iso
example:
(1)set archlinux-2015.10.01-dual.iso in
"/iso/arch/" directory of partition UUID c9475604-0e23-4fe5-93e2-34922481d68a
(2) grub.cfg entries for grub2
Code: Select all
menuentry "FROM ISO:archlinux-2015.10.01-dual.iso (i686)" {
search --no-floppy --fs-uuid --set=root c9475604-0e23-4fe5-93e2-34922481d68a
set ISO="/iso/arch/archlinux-2015.10.01-dual.iso"
loopback loop $ISO
linux (loop)/arch/boot/i686/vmlinuz \
img_dev=/dev/disk/by-uuid/c9475604-0e23-4fe5-93e2-34922481d68a \
img_loop=$ISO \
archisobasedir=arch archisolabel=ARCH_201510
initrd (loop)/arch/boot/i686/archiso.img
}
menuentry "FROM ISO:archlinux-2015.10.01-dual.iso (x86_64)" {
search --no-floppy --fs-uuid --set=root c9475604-0e23-4fe5-93e2-34922481d68a
set ISO="/iso/arch/archlinux-2015.10.01-dual.iso"
loopback loop $ISO
linux (loop)/arch/boot/x86_64/vmlinuz \
img_dev=/dev/disk/by-uuid/c9475604-0e23-4fe5-93e2-34922481d68a \
img_loop=$ISO \
archisobasedir=arch archisolabel=ARCH_201510
initrd (loop)/arch/boot/x86_64/archiso.img
}
example: work partition and directory /dev/sda1, /work
Code: Select all
# cd /
# tar -czf tmp/etc.tgz etc
# ls var/lib/pacman/local/ > tmp/list
# mount /dev/sda1 /mnt
# cp -r /tmp /mnt/work/.
# sync
# reboot
4.1.create archlinux-2015.10.01-dual.iso.packelist by editting /work/tmp/list
(1)delete "ALPM_DB_VERSION" line from /work/tmp/list.
(2)convert from archlinux package name to base package name.
Code: Select all
% cat /work/tmp/list | rev | cut -d '-' -f 3- | rev > new.list
Please refer 'example: "archlinux-2015.10.01-dual.iso.packelist"' of "acuiGetL"
(4)add a basic package 'libtool' (A generic library support script; include 'libltdl.so')
4.2.create 001-base.xzm
Code: Select all
% acuiGetL -s=/STORAGE -l=archlinux-2015.10.01-dual.iso.packelist -M=001-base
Code: Select all
# mkdir 001-zconf
# cd 001-zconf
# tar -xzf /work/tmp/etc.tgz
# cd ..
# rm -f 001-zconf.xzm
# mksquashfs 001-zconf 001-zconf.xzm -b 256K -comp xz -Xbcj x86
6.1. set Base-i486/porteus/base/
[32bit]
Code: Select all
# ls Base-i486/porteus/base/000-kernel.xzm 001-base.xzm 001-zconf.xzm
# mv 001-base.xzm Base-i486/porteus/base/.
# mv 001-zconf.xzm Base-i486/porteus/base/.
[32bit]
Code: Select all
# mkdir -p BaseDirectory/000-kernel.xzm
# mkdir -p BaseDirectory/001-base.xzm
# mkdir -p BaseDirectory/001-zconf.xzm
# mount -o loop -t squashfs Base-i486/porteus/base/000-kernel.xzm BaseDirectory/000-kernel.xzm
# mount -o loop -t squashfs Base-i486/porteus/base/001-base.xzm BaseDirectory/001-base.xzm
# mount -o loop -t squashfs Base-i486/porteus/base/001-zconf.xzm BaseDirectory/001-zconf.xzm
# pwd
/a/b/c
Code: Select all
% /usr/local/share/archspm/bin/archspm BASELIBDIR=/a/b/c/BaseDirectory
[all]: select
[lib] : check
search key: gcc
select core/gcc
[autoR] : check
push [download]
[MODULE]: select
select gcc
[autoR] : check
push [merge]
[all]: select
[lib] : check
search key: make
select core/make
[autoR] : check
push [download]
[MODULE]: select
select make
[autoR] : check
push [merge]
[all]: select
[lib] : check
search key: patch
select core/patch
[autoR] : check
push [download]
[MODULE]: select
select patch
[autoR] : check
push [merge]
[all]: select
[lib] : check
search key: git
select extra/git
[autoR] : check
push [download]
[MODULE]: select
select git
[autoR] : check
push [merge]
push [exit]
example: archspm STORAGE directory is /STORAGE/
[32bit]
Code: Select all
# lsxzm /STORAGE/gcc/gcc.xzm | grep /var/log/packages/ > list
# lsxzm /STORAGE/make/make.xzm | grep /var/log/packages/ >> list
# lsxzm /STORAGE/patch/patch.xzm | grep /var/log/packages/ >> list
# lsxzm /STORAGE/git/git.xzm | grep /var/log/packages/ >> list
# cat list | sed 's@^/var/log/packages/@@g' | rev | cut -d '-' -f 4- | rev | sort -u > 05-devel.list
# acuiGetL -l=05-devel.list -M=05-devel
# mv 05-devel.xzm Base-i486/porteus/modules/.
#
# mkdir -p /tmp/mloop 05-headers
# mount -o loop -t squashfs /STORAGE/linux-api-headers-4.1.4-i686-1.xzm.sep /tmp/mloop
# cp -a /tmp/mloop/* 05-headers/.
# umount /tmp/mloop
# mount -o loop -t squashfs /STORAGE/glibc-2.22-i686-3.xzm.sep /tmp/mloop
# cp -a /tmp/mloop/* 05-headers/.
# umount /tmp/mloop
# mount -o loop -t squashfs /STORAGE/gcc-5.2.0-i686-2.xzm.sep /tmp/mloop
# cp -a /tmp/mloop/* 05-headers/.
# umount /tmp/mloop
# rm -fr /tmp/mloop
# rm -fr 05-headers.xzm
# mksquashfs 05-headers 05-headers.xzm -b 256K -comp xz -Xbcj x86
# rm -fr 05-headers
# mv 05-headers.xzm Base-i486/porteus/modules/.
(1) change configuration
[32bit]
Code: Select all
# cat new.cnf
PROMPT 0
TIMEOUT 90
UI vesamenu.c32
DEFAULT mini
MENU BACKGROUND porteus.png
MENU TITLE Porteus-v3.1 32bit
MENU WIDTH 30
MENU MARGIN 2
MENU ROWS 10
MENU HELPMSGROW 17
MENU TIMEOUTROW 28
MENU TABMSGROW 15
MENU CMDLINEROW 22
MENU HSHIFT 4
MENU VSHIFT 5
menu color screen 37;40 #00000000 #00000000 none
menu color border 30;44 #00000000 #00000000 none
menu color title 1;36;44 #ffF6FF00 #00000000 none
menu color unsel 37;44 #ffffffff #00000000 none
menu color hotkey 1;37;44 #ff8037b7 #00000000 none
menu color sel 7;37;40 #ff111B78 #003f7fbf none
menu color hotsel 1;7;37;40 #ffaf67f7 #003f7fbf none
menu color scrollbar 30;44 #00000000 #00000000 none
menu color tabmsg 31;40 #ffB6F538 #00000000 none
menu color cmdmark 1;36;40 #ffff0000 #00000000 none
menu color cmdline 37;40 #ffffffff #ff000000 none
menu color pwdborder 30;47 #ffff0000 #00000000 std
menu color pwdheader 31;47 #ffff0000 #00000000 std
menu color pwdentry 30;47 #ffff0000 #00000000 std
menu color timeout_msg 37;40 #ff809aef #00000000 none
menu color timeout 1;37;40 #ffb72f9f #00000000 none
menu color help 37;40 #ffD5F538 #00000000 none
menu color msg07 37;40 #90ffffff #00000000 std
LABEL mini
MENU LABEL mini archlinux
KERNEL vmlinuz
APPEND initrd=initrd.xz systemd=/usr/lib/systemd/systemd retry copy2ram
TEXT HELP
Run mini archlinux.
ENDTEXT
MENU SEPARATOR
LABEL plop
MENU LABEL PLoP BootManager
KERNEL plpbt
TEXT HELP
Run the plop boot manager.
This utility provides handy
boot-USB options for machines
with vintage/defective BIOS
ENDTEXT
LABEL hd
MENU LABEL Boot from the first hd
COM32 chain.c32
APPEND hd0 1
TEXT HELP
Don't start Porteus at all, but
rather run any operating system
installed on the first partition
of the hard drive
ENDTEXT
# mv new.cnf Base-i486/boot/syslinux/porteus.cfg
[32bit]
Code: Select all
# mkisofs -o Base-i486.iso -v -l -J -joliet-long -R -D -A Porteus -V Porteus \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/syslinux/isolinux.bin -c boot/syslinux/isolinux.boot Base-i486
[32bit]
example:
(1)set Base-i486.iso in
"/iso/arch/" directory of partition UUID 57597f01-0129-4e2f-8c86-fad1aff4a08e
(2) grub.cfg entries for grub2
Code: Select all
menuentry "Base-i486.iso" {
search --no-floppy --fs-uuid --set=root 57597f01-0129-4e2f-8c86-fad1aff4a08e
set ISO="/iso/arch/Base-i486.iso"
loopback loop $ISO
linux (loop)/boot/syslinux/vmlinuz from=/$ISO \
systemd=/usr/lib/systemd/systemd retry copy2ram
initrd (loop)/boot/syslinux/initrd.xz
}
9.1. set a base directory.
add directories more than "6.2. set a base directory".
[32bit]
Code: Select all
# mkdir -p BaseDirectory/05-devel.xzm
# mount -o loop -t squashfs Base-i486/porteus/modules/05-devel.xzm BaseDirectory/05-devel.xzm
Code: Select all
% ls
BaseDirectory
% acuiUpdate -s=/STORAGE BASELIBDIR=BaseDirectory update
note:
[32bit] Base-i486.iso (178 M) / [64bit] Base-x86_64.iso (185 M) that was created by this procedure
are uploaded on the 3rd article of this thread.
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
=== Creating X ISO & FVWM ISO. ===
1. boot Base ISO and add "guest" account.
The cheatcode "systemd=/usr/lib/systemd/systemd" must be set.
In the live space that is created by booting Base ISO.
example: /dev/sda2, /work is work partition and work directory.
Code: Select all
# groupadd -g 1000 guest
# useradd -u 1000 -g guest -G disk,lp,floppy,audio,video,games,power,scanner,users -d /home/guest -s /bin/bash guest
# mkdir -p /home/guest
# chown guest /home/guest
# chgrp guest /home/guest
# passwd guest
# passwd root
# cd /
# tar -czf tmp/patch2-accout.tgz etc/group etc/gshadow etc/passwd etc/shadow home
# mv /tmp/patch2-accout.tgz /mnt/sda2/work/.
(1)execute archspm GUI to set a STORAGE of archspm and a mirror site.
(2)create 002-xorg.xzm
Code: Select all
% cat 002-xorg.list
acpid
alsa-lib
alsa-utils
asunder
atk
audiofile
avahi
cairo
cdparanoia
cdrdao
cdrtools
cifs-utils
cpio
cyrus-sasl
damageproto
dbus-glib
djvulibre
dmapi
dmidecode
dvd+rw-tools
elfutils
faac
faad2
ffmpeg
fixesproto
flac
fontconfig
fontsproto
freeglut
freetype2
fribidi
gamin
gdk-pixbuf2
gftp
giflib
glew
glu
graphite
gsm
gtk2
gtkdialog
harfbuzz
hicolor-icon-theme
icu
inputproto
kbproto
lame
lcms
libao
libass
libbluray
libcddb
libcdio
libcroco
libdaemon
libdmx
libdrm
libdvdread
libelf
libepoxy
libevdev
libexif
libfontenc
libglade
libice
libmad
libmbim
libmng
libmnl
libnetfilter_conntrack
libnfnetlink
libnotify
libogg
libomxil-bellagio
libpciaccess
libpng
libqmi
libraw1394
librsvg
libsamplerate
libsm
libsndfile
libtheora
libtiff
libtxc_dxtn
libunwind
libusb-compat
libutempter
libva
libva-intel-driver
libvdpau
libvdpau-va-gl
libvorbis
libvpx
libx11
libxau
libxaw
libxcb
libxcomposite
libxcursor
libxdamage
libxdmcp
libxext
libxfixes
libxfont
libxft
libxi
libxinerama
libxkbfile
libxmu
libxp
libxpm
libxrandr
libxrender
libxres
libxshmfence
libxslt
libxss
libxt
libxtst
libxv
libxvmc
libxxf86misc
libxxf86vm
llvm-libs
lm_sensors
lsof
lynx
mcpp
mesa
mobile-broadband-provider-info
modemmanager
mtdev
networkmanager
networkmanager-openvpn
networkmanager-pptp
nss-mdns
numlockx
opencore-amr
opus
opus-tools
p7zip
pango
pidgin
pixman
pm-utils
powertop
radeontool
randrproto
rdesktop
recordproto
renderproto
rrdtool
rtmpdump
screen
sdl
sg3_utils
shared-mime-info
speex
squashfs-tools
startup-notification
strace
taglib
talloc
ttf-dejavu
twolame
uget
unrar
unzip
upower
vamps
videoproto
vorbis-tools
vte
wavpack
wayland
webfs
wgetpaste
whois
x264
xbitmaps
xcb-proto
xcb-util
xclip
xdg-utils
xdialog
xextproto
xf86-input-acecad
xf86-input-aiptek
xf86-input-elographics
xf86-input-evdev
xf86-input-joystick
xf86-input-keyboard
xf86-input-synaptics
xf86-input-vmmouse
xf86-input-wacom
xf86-video-apm
xf86-video-ark
xf86-video-ati
xf86-video-chips
xf86-video-fbdev
xf86-video-glint
xf86-video-i128
xf86-video-i740
xf86-video-intel
xf86-video-mach64
xf86-video-neomagic
xf86-video-nouveau
xf86-video-openchrome
xf86-video-r128
xf86-video-rendition
xf86-video-s3
xf86-video-s3virge
xf86-video-savage
xf86-video-siliconmotion
xf86-video-sis
xf86-video-sisusb
xf86-video-tdfx
xf86-video-trident
xf86-video-tseng
xf86-video-vesa
xf86-video-vmware
xf86-video-voodoo
xf86vidmodeproto
xineramaproto
xkeyboard-config
xorg-bdftopcf
xorg-font-util
xorg-font-utils
xorg-fonts-alias
xorg-fonts-encodings
xorg-fonts-misc
xorg-iceauth
xorg-luit
xorg-mkfontdir
xorg-mkfontscale
xorg-server
xorg-server-common
xorg-sessreg
xorg-setxkbmap
xorg-smproxy
xorg-twm
xorg-x11perf
xorg-xauth
xorg-xbacklight
xorg-xclock
xorg-xcmsdb
xorg-xcursorgen
xorg-xdm
xorg-xdpyinfo
xorg-xdriinfo
xorg-xev
xorg-xgamma
xorg-xhost
xorg-xinit
xorg-xinput
xorg-xkbcomp
xorg-xkbevd
xorg-xkbutils
xorg-xkill
xorg-xlsatoms
xorg-xlsclients
xorg-xmessage
xorg-xmodmap
xorg-xpr
xorg-xprop
xorg-xrandr
xorg-xrdb
xorg-xrefresh
xorg-xset
xorg-xsetroot
xorg-xvinfo
xorg-xwd
xorg-xwininfo
xorg-xwud
xproto
xterm
xvidcore
% acuiGetL -l=002-xorg.list -M=002-xorg
[32bit]
Code: Select all
# ls -1
002-xorg.list
002-xorg.list.repo.11299
002-xorg.xzm
Base-i486.iso
# mloop Base-i486.iso
# ls -R /mnt/loop
/mnt/loop:
USB_INSTALLATION.txt boot/ porteus/
/mnt/loop/boot:
Porteus-installer-for-Linux.com* Porteus-installer-for-Windows.exe docs/ syslinux/
/mnt/loop/boot/docs:
GNU_GPL License.txt cheatcodes-ja.txt cheatcodes.txt install.txt requirements.txt
/mnt/loop/boot/syslinux:
chain.c32 initrd.xz isolinux.boot lilo.conf porteus.cfg syslinux.cfg vmlinuz
extlinux.conf isolinux.bin isolinux.cfg plpbt porteus.png vesamenu.c32
/mnt/loop/porteus:
base/ kernel-v4.2.5-i486.sgn make_iso.sh* modules/ optional/ rootcopy/
/mnt/loop/porteus/base:
000-kernel.xzm 001-base.xzm
/mnt/loop/porteus/modules:
05-devel.xzm 05-headers.xzm
/mnt/loop/porteus/optional:
/mnt/loop/porteus/rootcopy:
etc.tgz
# mkdir X-ISO
# cp -a /mnt/loop/* X-ISO/.
# uloop
# mv /mnt/sda2/work/patch2-accout.tgz X-ISO/porteus/rootcopy/.
# mloop 002-xorg.xzm
# mkdir -p work/usr/lib
# cp -a /mnt/loop/usr/lib/mesa work/usr/lib/.
# uloop
# cd work/usr/lib/
# ln -sf mesa/* .
# rm -fr mesa
# cd ../../
# ls
usr
# tar -czf ../patch3-libEGL.so.tgz *
# cd ..
# rm -fr work
# mv patch3-libEGL.so.tgz X-ISO/porteus/rootcopy/.
# mv 002-xorg.xzm X-ISO/porteus/base/.
# mkisofs -o X-ISO.iso -v -l -J -joliet-long -R -D -A Porteus -V Porteus \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/syslinux/isolinux.bin -c boot/syslinux/isolinux.boot X-ISO
# ls -1
002-xorg.list
002-xorg.list.repo.11299
Base-i486.iso
X-ISO
X-ISO.iso
The cheatcode "systemd=/usr/lib/systemd/systemd" must be set.
In the live space that is created by booting X-ISO.iso.
Code: Select all
# cd /usr/share/fonts/
# mkfontscale *
# mkfontdir *
# cd /
# tar -czvf tmp/mkfont.tgz usr/share/fonts/*/fonts.*
# mv /tmp/mkfont.tgz /mnt/sda2/work/.
Code: Select all
# mv /mnt/sda2/work/mkfont.tgz X-ISO/porteus/rootcopy/.
# rm X-ISO.iso
# mkisofs -o X-ISO.iso -v -l -J -joliet-long -R -D -A Porteus -V Porteus \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/syslinux/isolinux.bin -c boot/syslinux/isolinux.boot X-ISO
The cheatcode "systemd=/usr/lib/systemd/systemd" must be set.
In the live space that is created by booting X-ISO.iso.
change a terminal by ALT+F2/3/4.
login guest (password is "guest")
Code: Select all
% startx
change a terminal by ALT+F1
Code: Select all
# reboot
(1)execute archspm GUI to set a STORAGE of archspm and a mirror site.
(2)create 003-fvwm.xzm
Code: Select all
% cat 003-fvwm.list
baobab
fvwm
gdk-pixbuf2
geany
gnome-alsamixer
gnome-mplayer
gpicview
graphicsmagick
gsettings-desktop-schemas
gtk-engine-murrine
gvfs
hardinfo
imagemagick
imlib2
lcms2
libdatrie
libfm
liblqr
libnm-glib
libsoup
libstroke
libthai
libtool
lxtask
lxterminal
media-player-info
menu-cache
mplayer
network-manager-applet
nm-connection-editor
pcmanfm
scrot
stalonetray
sudo
udisks2
volumeicon
w3m
winff
% acuiGetL -l=003-fvwm.list -M=003-fvwm
http://www.mediafire.com/download/4lcgw ... orteus.xzm
003-fvwm_porteus.xzm is extracted from Porteus-aFVWM-ja-v3.1-i486.iso.
For 64bit, move 003-fvwm_porteus.xzm@/usr/bin/64-bit-hsetroot to 003-fvwm_porteus.xzm@/usr/bin/hsetroot.
(4)create FVWM-ISO
Code: Select all
# ls -1
002-xorg.list
002-xorg.list.repo.11299
003-fvwm.list
003-fvwm.list.repo.10954
003-fvwm.xzm
003-fvwm_porteus.xzm
Base-i486.iso
X-ISO
X-ISO.iso
# mv X-ISO FVWM-ISO
# mv 003-fvwm.xzm 003-fvwm_porteus.xzm FVWM-ISO/porteus/base/.
# mkisofs -o FVWM-ISO.iso -v -l -J -joliet-long -R -D -A Porteus -V Porteus \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/syslinux/isolinux.bin -c boot/syslinux/isolinux.boot FVWM-ISO
# rm -fr FVWM-ISO
# ls -1
002-xorg.list
002-xorg.list.repo.11299
003-fvwm.list
003-fvwm.list.repo.10954
Base-i486.iso
FVWM-ISO.iso
X-ISO.iso
The cheatcode "systemd=/usr/lib/systemd/systemd" must be set.
In the live space that is created by booting FVWM-ISO.iso.
change a terminal by ALT+F2/3/4.
login guest (password is "guest")
Code: Select all
% startx
Code: Select all
% su
# restart
They are only samples for how to use archspm tool.
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
=== ISO update depending on Archlinux rolling-release. ===
The modules can be updated depending on Archlinux rolling-release.
The target modules are constructed with only Archlinux packages by archspm tool.
1. prepare a simple script updateISO
Code: Select all
% cat updateISO
#!/bin/sh
#STORAGE=/yourSTORAGEfor-archsmp
STORAGE=/mnt/sda13/porteus/pps/32/archlinux
#MIRROR=yourBestAccessSite
MIRROR=http://archlinux.cs.nctu.edu.tw
ISO=$1
TMP=/tmp/update_tmp
mkdir -p $TMP/iso
mount -o loop $ISO $TMP/iso
for i in `/bin/ls -R $TMP/iso/porteus`
do
j=${i%:}
if [ "$i" != "$j" ]
then
BASE=$j
continue
fi
j=${i%.xzm}
if [ "$i" = "$j" ]
then
continue
fi
mkdir -p $TMP/base/$i
mount -t squashfs -o loop $BASE/$i $TMP/base/$i
echo $BASE/$i > $i.inf.xzm
done
#check|get|update
acuiUpdate -s=$STORAGE -m=$MIRROR BASELIBDIR=$TMP/base update
for i in `/bin/ls -d $TMP/base/*`
do
umount $i
done
GET=start
while [ -n "$GET" ]
do
GET=""
for i in `/bin/ls -lt *.xzm | awk -F " " '{print$NF}'`
do
j=${i%.xzm.inf.xzm}
if [ "$i" = "$j" ]
then
if [ -z "$GET" ]
then
GET=$i.inf.xzm
mv $i $i.GET
fi
continue
fi
if [ -z "$GET" ]
then
continue
fi
if [ "$i" = "$GET" ]
then
mv $i $i.get
break
fi
done
done
if [ -n "`/bin/ls *.get 2>/dev/null`" ]
then
INAME=${ISO##*/}
INAME=${INAME%.iso}
cp -a $TMP/iso $INAME
for i in `/bin/ls *.get`
do
j=`cat $i`
rm $i
j=${j#$TMP/iso/}
i=${i%.inf.xzm.get}
mv $i.GET $INAME/$j
done
mkisofs -o up.$INAME.iso -v -l -J -joliet-long -R -D -A Porteus -V Porteus \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/syslinux/isolinux.bin -c boot/syslinux/isolinux.boot $INAME
rm -fr $INAME
fi
rm *.inf.xzm
umount $TMP/iso
rm -fr $TMP
%
%
% chmod +x updateISO
% mkdir bin
% mv updateISO bin/.
Code: Select all
% ls -1
FVWM-ISO.iso
bin/
% su
# bin/updateISO FVWM-ISO.iso
# ls -1
FVWM-ISO.iso
bin/
up.FVWM-ISO.iso
# mloop FVWM-ISO.iso
# ls -lR /mnt/loop > old
# uloop
# mloop up.FVWM-ISO.iso
# ls -lR /mnt/loop > new
# uloop
# diff old new
29c29
< -r--r--r-- 1 root root 2048 Nov 15 20:43 isolinux.boot
---
> -r--r--r-- 1 root root 2048 Nov 15 21:01 isolinux.boot
41c41
< drwxr-xr-x 2 root root 2048 Nov 15 17:56 base/
---
> drwxr-xr-x 2 root root 2048 Nov 15 21:01 base/
49c49
< total 229860
---
> total 229864
51c51
< -rw-r--r-- 1 root root 104316928 Nov 12 23:34 001-base.xzm
---
> -rw-r--r-- 1 root root 104316928 Nov 15 21:00 001-base.xzm
53c53
< -rw-r--r-- 1 root root 21442560 Nov 15 17:56 003-fvwm.xzm
---
> -rw-r--r-- 1 root root 21446656 Nov 15 21:01 003-fvwm.xzm
Kernel (ISO@/boot/syslinux/vmlinuz, ISO@/porteus/base/000-kernel.xzm) of ISO
will be updated by 'upakernel4' command.
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
'mksquashfs' option usage miss was fixed.
archspm-15.12.12-noarch-9.xzm (41 K)
http://www.mediafire.com/download/4a1up ... arch-9.xzm
md5sum: ff9440ab370037abb6db1e8d35a93483 archspm-15.12.12-noarch-9.xzm
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
Please refer to
http://forum.porteus.org/viewtopic.php? ... 997#p36689
Their Wallpaper is offered by Blaze.
@Blaze, thank you for your kindness.
Thanks
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
APorteus-FVWM-ja-v16.01.31-i486.iso (277 M)
APorteus-FVWM-ja-v16.01.31-x86_64.iso (302 M)
Please refer to
http://forum.porteus.org/viewtopic.php? ... 997#p36689
Tnanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
Tools are execute by root user.
1. Disassemble ISO
Code: Select all
# ls
APorteus-FVWM-v16.01.31-x86_64.iso
# dISO APorteus-FVWM-v16.01.31-x86_64.iso
# ls -1
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
# ls -R APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64:
EFI USB_INSTALLATION.txt boot porteus
APorteus-FVWM-v16.01.31-x86_64/EFI:
boot
APorteus-FVWM-v16.01.31-x86_64/EFI/boot:
bootx64.efi grub.cfg
APorteus-FVWM-v16.01.31-x86_64/boot:
Porteus-installer-for-Linux.com Porteus-installer-for-Windows.exe docs syslinux
APorteus-FVWM-v16.01.31-x86_64/boot/docs:
GNU_GPL License.txt cheatcodes-ja.txt cheatcodes.txt install.txt requirements.txt
APorteus-FVWM-v16.01.31-x86_64/boot/syslinux:
chain.c32 initrd.xz isolinux.boot lilo.conf porteus.cfg syslinux.cfg vmlinuz
extlinux.conf isolinux.bin isolinux.cfg plpbt porteus.png vesamenu.c32
APorteus-FVWM-v16.01.31-x86_64/porteus:
base kernel-v4.3.4-1-x86_64.sgn make_iso.sh modules optional rootcopy
APorteus-FVWM-v16.01.31-x86_64/porteus/base:
000-kernel.xzm 001-z.core.xzm 002-z.xorg.xzm 003-z.fvwm.xzm 004-pidgin.xzm 009-caches.xzm
001-core.xzm 002-xorg.xzm 003-fvwm.xzm 004-mplayer.xzm 004-z.mplayer.xzm google-chrome-48.0.2564.97-1-x86_64-DUOWif.xzm
APorteus-FVWM-v16.01.31-x86_64/porteus/modules:
003-man-pages-4.04-noarch-1.sep.xzm 003-slim.conf.xzm
APorteus-FVWM-v16.01.31-x86_64/porteus/optional:
APorteus-FVWM-v16.01.31-x86_64/porteus/rootcopy:
porteus/base/001-core.xzm ...... core module constructed with archlinux packages.
porteus/base/001-z.core.xzm .... core module constructed with none-archlinux packages.
porteus/base/002-xorg.xzm ...... xorg module constructed with archlinux packages.
porteus/base/002-z.xorg.xzm .... xorg module constructed with none-archlinux packages.
porteus/base/003-fvwm.xzm ...... fvwm module constructed with archlinux packages.
porteus/base/003-z.fvwm.xzm .... fvwm module constructed with none-archlinux packages.
porteus/base/004-mplayer.xzm ... mplayer module constructed with archlinux packages.
porteus/base/004-z.mplayer.xzm . mplayer module constructed with none-archlinux packages. note 2)
porteus/base/004-pidgin.xzm .... pidgin module constructed with archlinux packages.
porteus/base/009-caches.xzm .... created with update-cache command. note 3)
porteus/base/google-chrome-48.0.2564.97-1-x86_64-DUOWif.xzm ... converted with mkgoogle-chrome command.
note 4)
note 1) refer to
http://forum.porteus.org/viewtopic.php? ... 788#p34856
note 2) In 64bit version, this is a mplayer module constructed with archlinux packages.
note 3) "update-cache" command is Nemesis's command. It has been imported.
note 4) refer to
http://forum.porteus.org/viewtopic.php? ... 875#p35562
"mkslimjet-v3.1-noarch" module has been added on 003-z.fvwm.xzm.
2. Assemble ISO
continued from 1.
Code: Select all
# ls -1
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
# mv APorteus-FVWM-v16.01.31-x86_64/porteus/base/google-chrome-48.0.2564.97-1-x86_64-DUOWif.xzm APorteus-FVWM-v16.01.31-x86_64/porteus/base/004-google-chrome-48.0.2564.97-1-x86_64-DUOWif.xzm
# mv APorteus-FVWM-v16.01.31-x86_64 APorteus-FVWM-v16.02.04-x86_64
# mkISO APorteus-FVWM-v16.02.04-x86_64
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
APorteus-FVWM-v16.02.04-x86_64
APorteus-FVWM-v16.02.04-x86_64.iso
APorteus-FVWM-v16.02.04-x86_64.iso.md5
continued from 1.
Code: Select all
# dINIT APorteus-FVWM-v16.01.31-x86_64/boot/syslinux/initrd.xz
# ls -1
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
initrd
# ls -R initrd
initrd:
bin dev fatal init lib m mnt opt porteus run tmp usr
cleanup etc functions init_conf linuxrc memory nemesis persist proc sys union var
initrd/bin:
basename chmod cp egrep grep kill ls md5sum modprobe pivot_root rev sed switch_root touch uname
bash chown cut eject halt killall lsmod mkdir mount poweroff rm sh sync tr uniq
busybox chroot df find ifconfig ln lsof mknod mv ps rmdir sleep tac udhcpc usleep
cat clear dmesg free init losetup lspci modinfo ping reboot route sort tail umount vi
initrd/dev:
initrd/etc:
mtab
initrd/lib:
ld-2.17.so libblkid.so.1 libc.so.6 libe2p.so.2.3 libgcc_s.so.1 librt.so.1 modules
ld-linux.so.2 libblkid.so.1.1.0 libcom_err.so.2 libext2fs.so.2 libpthread-2.17.so libuClibc-0.9.33.2.so
ld-uClibc-0.9.33.2.so libc-2.17.so libcom_err.so.2.1 libext2fs.so.2.4 libpthread.so.0 libuuid.so.1
ld-uClibc.so.0 libc.so.0 libe2p.so.2 libgcc_s.so librt-2.17.so libuuid.so.1.3.0
initrd/lib/modules:
initrd/m:
initrd/memory:
changes copy2ram images xino
initrd/memory/changes:
initrd/memory/copy2ram:
initrd/memory/images:
initrd/memory/xino:
initrd/mnt:
initrd/opt:
000-kernel
initrd/opt/000-kernel:
initrd/porteus:
initrd/proc:
initrd/run:
initrd/sys:
initrd/tmp:
initrd/union:
initrd/usr:
bin lib share
initrd/usr/bin:
blkid diff e2fsck gzip ntfs-3g reiserfsck tar
initrd/usr/lib:
libntfs-3g.so libntfs-3g.so.85 libntfs-3g.so.85.0.0
initrd/usr/share:
nemesis pciids systemd udhcpc
initrd/usr/share/nemesis:
cleanup
initrd/usr/share/pciids:
AMD nVidia
initrd/usr/share/pciids/AMD:
amd-catalyst amd-catalyst-legacy
initrd/usr/share/pciids/nVidia:
173.14 304 96.43
initrd/usr/share/systemd:
cleanup
initrd/usr/share/udhcpc:
default.script
initrd/var:
log tmp
initrd/var/log:
initrd/var/tmp:
linuxrc ...... main shell script
functions .... common functions
persist ...... functions for the "persist" cheatcode
nemesis ...... functions for Nemesis
cleanup ...... ordinary cleanup shell script (at shutdown/reboot)
usr/share/nemesis/cleanup ... Nemesis cleanup shell script
usr/share/systemd/cleanup ... Systemd type cleanup shell script. note 2)
note 1)
SGN_ID: default sgnfile
LIB : "lib" or "usr/lib" = "none-archlinux type" or "archlinux type"
SYSTEMDDEF: First executed program
NEMESIS: "no" or "yes" = none-NEMESIS or NEMESIS
RCLOCAL: "etc/rc.d" or "etc" = "use etc/rc.d" or "none-use etc/rc.d"
note 2)
under construction.
4. Assemble initrd
continued from 3.
execute after modify something in initrd.
Code: Select all
# mkINIT initrd
# ls -1
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
initrd
initrd.xz
5.1. core module constructed with archlinux packages
continued from 1.
Code: Select all
# lsxzm APorteus-FVWM-v16.01.31-x86_64/porteus/base/001-core.xzm | grep /var/log/packages/ | sed 's@^/var/log/packages/@@g' | grep -v 'pkgs.' > 001-core.list
# dXZM APorteus-FVWM-v16.01.31-x86_64/porteus/base/001-core.xzm
# ls -1
001-core
001-core.list
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
# sep2pkg 001-core
# ls -1
001-core.list
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
pkgs.001-core
# ls -1 pkgs.001-core
acl-2.2.52-x86_64-2
...
pinentry-0.9.7-x86_64-1
pkg.man
polkit-0.113-x86_64-4
...
zlib-1.2.8-x86_64-4
# ls -1 pkgs.001-core/pkg.man
groff-1.22.3-x86_64-5
libpipeline-1.4.1-x86_64-1
man-db-2.7.5-x86_64-1
or
pkgs."module name"/pkg."sub module name"/"package name"/"package expanded entities"
5.2. core module constructed with none-archlinux packages
continued from 1.
Code: Select all
# dXZM APorteus-FVWM-v16.01.31-x86_64/porteus/base/001-z.core.xzm
# ls -1
001-z.core
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
# sep2pkg 001-z.core
# ls -1
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
pkgs.001-z.core
# ls pkgs.001-z.core/*/
pkgs.001-z.core/pkg.noarch/:
ca-certificates core-config core-home core-porteus core-systemd core-udev portesu-v3.1-firmware
pkgs.001-z.core/pkg.patch-noarch/:
filesystem glibc gnupg iana-etc nfs-utils openssh p-systemd pam sudo
pkgs.001-z.core/pkg.x86_64/:
mini-binutils-2.25.1-x86_64-3
ca-certificates
core-config
core-home
core-porteus
core-systemd
core-udev
portesu-v3.1-firmware
pkgs.001-z.core/pkg.patch-noarch/:
There are same data in 001-core module.
They will be overwritten with ones of these packages.
filesystem
glibc
gnupg
iana-etc
nfs-utils
openssh
p-systemd
pam
sudo
pkgs.001-z.core/pkg.x86_64/: Depend (64bit) architecture packages
mini-binutils-2.25.1-x86_64-3
For getting more detailed information,
please execute "ls -R" or "more/cat ASCII-files".
example:
Code: Select all
# cat pkgs.001-z.core/pkg.x86_64/mini-binutils-2.25.1-x86_64-3/var/log/packages/mini-binutils-2.25.1-x86_64-3
PACKAGE NAME: mini-binutils-2.25.1-x86_64-3
COMPRESSED PACKAGE SIZE: 4655628
UNCOMPRESSED PACKAGE SIZE: 28064768
PACKAGE LOCATION: core/binutils-2.25.1-3-x86_64.pkg.tar.xz
PACKAGE CATEGORY: base-devel
PACKAGE DESCRIPTION:
binutils:
binutils: A set of programs to assemble and manipulate binary and object files
binutils:
binutils: DEPENDS:
binutils: glibc>=2.22
binutils: zlib
binutils:
FILE LIST:
var
var/log
var/log/packages
var/log/packages/mini-binutils-2.25.1-x86_64-3
usr
usr/share
usr/lib
usr/lib/libopcodes-2.25.1.so
usr/lib/libbfd-2.25.1.so
usr/bin
usr/bin/ar
6. Assemble module
An example is updating 003-z.fvwm.xzm (fvwm module constructed with none-archlinux packages).
prepare: get recent archspm module (archspm-15.12.12-noarch-C.xzm).
Code: Select all
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
archspm-15.12.12-noarch-C.xzm
# dISO APorteus-FVWM-v16.01.31-x86_64.iso
# dXZM APorteus-FVWM-v16.01.31-x86_64/porteus/base/003-z.fvwm.xzm
003-z.fvwm
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
archspm-15.12.12-noarch-C.xzm
# sep2pkg 003-z.fvwm
# ls -1
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
archspm-15.12.12-noarch-C.xzm
pkgs.003-z.fvwm
# ls pkgs.003-z.fvwm/*/
pkgs.003-z.fvwm/pkg.fvwm/:
fvwm-aus-3.1-noarch-3 fvarchspm-15.12.12-noarch-Cwm-home hsetroot-1.0.2-x86_64-1cf startfvwm-1-noarch-1
pkgs.003-z.fvwm/pkg.multi/:
alsamixer-3.0.1-noarch-1
pkgs.003-z.fvwm/pkg.noarch/:
hardinfo-icon-0.5.2pre-noarch-1al humanity-lxde-icon-theme-0.0.2-noarch-2
pkgs.003-z.fvwm/pkg.patch/:
gparted-0.24.0-noarch-1
pkgs.003-z.fvwm/pkg.spm/:
archspm-15.12.12-noarch-B live-usb-3.1-noarch-7 mkslimjet-v3.1-noarch-9 spmDebian-15.01.28-noarch-4 spmSlackware-15.01.28-noarch-2
# rm -fr pkgs.003-z.fvwm/pkg.spm/archspm-15.12.12-noarch-B
# dXZM archspm-15.12.12-noarch-C.xzm
# mv archspm-15.12.12-noarch-C pkgs.003-z.fvwm/pkg.spm/.
# mergepkgs pkgs.003-z.fvwm
# ls -1
003-z.fvwm
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
archspm-15.12.12-noarch-C.xzm
pkgs.003-z.fvwm
# mkXZM 003-z.fvwm
# rm -fr 003-z.fvwm
# ls -1
003-z.fvwm.xzm
APorteus-FVWM-v16.01.31-x86_64
APorteus-FVWM-v16.01.31-x86_64.iso
archspm-15.12.12-noarch-C.xzm
pkgs.003-z.fvwm
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
Archlinux packages,
kernel,
google-chrome, and
archspm tool (add-on).
1. update depending on Archlinux packages rolling release.
(1) update modules by GUI "archspm"
Select 'MODULE' in 'Select a repository'.
Push 'Update' button.
(2) update ISO by CUI "updateISO"
Code: Select all
# su
# ls
# APorteus-FVWM-v16.01.31-x86_64.iso
# updateISO APorteus-FVWM-v16.01.31-x86_64.iso
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
up.APorteus-FVWM-v16.01.31-x86_64.iso
example:
update to v4.4.1 for 64bit.
update to v4.3.5 for 32bit.
Please refer to the
http://forum.porteus.org/viewtopic.php? ... 788#p34856
Code: Select all
# ls -1
up.APorteus-FVWM-v16.01.31-x86_64.iso
upkernel-4.4.1-noarch-1.xzm
# activate upkernel-4.4.1-noarch-1.xzm
# upakernel4.4 up.APorteus-FVWM-v16.01.31-x86_64.iso
# deactivate upkernel-4.4.1-noarch-1.xzm
# ls -1
UP.up.APorteus-FVWM-v16.01.31-x86_64.iso
UP.up.APorteus-FVWM-v16.01.31-x86_64.iso.md5
up.APorteus-FVWM-v16.01.31-x86_64.iso
upkernel-4.4.1-noarch-1.xzm
Code: Select all
# ls -1
003-z.fvwm.xzm
UP.up.APorteus-FVWM-v16.01.31-x86_64.iso
google-chrome-stable_current_amd64.deb
# mkgoogle-chrome google-chrome-stable_current_amd64.deb -DUOWif
# ls -1
003-z.fvwm.xzm
UP.up.APorteus-FVWM-v16.01.31-x86_64.iso
google-chrome-48.0.2564.103-1-x86_64-9DUOWif.xzm
google-chrome-stable_current_amd64.deb
# dISO UP.up.APorteus-FVWM-v16.01.31-x86_64.iso
# rm UP.up.APorteus-FVWM-v16.01.31-x86_64/porteus/base/*google-chrome*
# mv google-chrome-48.0.2564.103-1-x86_64-9DUOWif.xzm UP.up.APorteus-FVWM-v16.01.31-x86_64/porteus/base/004-google-chrome-48.0.2564.103-1-x86_64-9DUOWif.xzm
# mv 003-z.fvwm.xzm UP.up.APorteus-FVWM-v16.01.31-x86_64/porteus/base/.
# mv UP.up.APorteus-FVWM-v16.01.31-x86_64 APorteus-FVWM-v16.02.05-x86_64
# mkISO APorteus-FVWM-v16.02.05-x86_64
# rm Up.up* google-chrome*
# rm -fr APorteus-FVWM-v16.02.05-x86_64
# ls -1
APorteus-FVWM-v16.02.05-x86_64.iso
APorteus-FVWM-v16.02.05-x86_64.iso.md5
Please refer to "6. Assemble module" of
http://forum.porteus.org/viewtopic.php? ... =15#p41855
note 2) The debian package google-chrome-stable_current_i386.deb/google-chrome-stable_current_amd64.deb is gotten
from the following site.
https://www.google.com/chrome/browser/desktop/
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
live-usb tool (add-on).
New "live-usb" tool for the Porteus that is constructed with ArchLinux packages,
"Alive-usb-16.02.07-noarch-1.xzm" was released.
http://www.mediafire.com/download/v98w4 ... arch-1.xzm
Please refer to the "4.1. ISO to USB conversion tool module" of
http://forum.porteus.org/viewtopic.php? ... 788#p34856
example:
1. Disassemble ISO
Code: Select all
# dISO APorteus-FVWM-v16.01.31-x86_64.iso
Code: Select all
# dXZM APorteus-FVWM-v16.01.31-x86_64/porteus/base/003-z.fvwm.xzm
# sep2pkg 003-z.fvwm
# dXZM Alive-usb-16.02.07-noarch-1.xzm
Code: Select all
# rm -fr pkgs.003-z.fvwm/pkg.spm/live-usb-3.1-noarch-7
# mv Alive-usb-16.02.07-noarch-1 pkgs.003-z.fvwm/pkg.spm/.
Code: Select all
# mergepkgs pkgs.003-z.fvwm
# mkXZN 003-z.fvwm
Code: Select all
# mv 003-z.fvwm.xzm APorteus-FVWM-v16.01.31-x86_64/porteus/base/.
Code: Select all
# mkISO APorteus-FVWM-v16.01.31-x86_64
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
APorteus-FVWM ISO can be updated by the following transaction.
upv16.02.09.tar (27 M)
http://www.mediafire.com/download/zthqh ... .02.09.tar
md5sum: f6e7849c88e82903dba46b4865b8aa94 upv16.02.09.tar
--contents--
upv16.02.09/
upv16.02.09/cheatcodes-ja.txt .... replace ISO@boot/docs/cheatcodes-ja.txt
upv16.02.09/cheatcodes.txt ....... replace ISO@boot/docs/cheatcodes.txt
upv16.02.09/initrd.xz ............ modify and replace ISO@boot/syslinux/initrd.xz
upv16.02.09/32/
upv16.02.09/32/001-z.core.xzm .... replace 32bit-ISO@porteus/base/001-z.core.xzm
upv16.02.09/32/003-z.fvwm.xzm .... replace 32bit-ISO@porteus/base/003-z.fvwm.xzm
upv16.02.09/64/
upv16.02.09/64/001-z.core.xzm .... replace 64bit-ISO@porteus/base/001-z.core.xzm
upv16.02.09/64/003-z.fvwm.xzm .... replace 64bit-ISO@porteus/base/003-z.fvwm.xzm
--update items--
1. change cheatcode "debug"
old: "debug"
new: "Pdebug"
note) cheatcode "debug" is used only for kernel debugging actions.
2. cheatcode "EXIT" of "changes=EXIT:.." is available.
3. add-on modules (Alive-usb,archspm) are updated.
--how to update--
example: update APorteus-FVWM-v16.01.31-x86_64.iso .
execute on APorteus-FVWM-v16.01.31-x86_64.iso running environment.
Code: Select all
% su
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
upv16.02.09.tar
# tar -xf upv16.02.09.tar
# dISO APorteus-FVWM-v16.01.31-x86_64.iso
# mv upv16.02.09/cheatcodes* APorteus-FVWM-v16.01.31-x86_64/boot/docs/.
# mv upv16.02.09/64/* APorteus-FVWM-v16.01.31-x86_64/porteus/base/.
# dINIT APorteus-FVWM-v16.01.31-x86_64/boot/syslinux/initrd.xz
# mv initrd/init_conf .
# rm -fr initrd
# dINIT upv16.02.09/initrd.xz
# rm -fr upv16.02.09
# mv init_conf initrd/.
# mkINIT initrd
# rm -fr initrd
# mv initrd.xz APorteus-FVWM-v16.01.31-x86_64/boot/syslinux/.
# mv APorteus-FVWM-v16.01.31-x86_64 APorteus-FVWM-v16.02.09-x86_64
# mkISO APorteus-FVWM-v16.02.09-x86_64
# rm -fr APorteus-FVWM-v16.02.09-x86_64
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
APorteus-FVWM-v16.02.09-x86_64.iso
upv16.02.09.tar
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
[archspm was updated to "archspm-16.02.14-noarch-1.xzm"]
archspm-16.02.14-noarch-1.xzm (41 K)
http://www.mediafire.com/download/20w04 ... arch-1.xzm
md5sum: 03f0f74e6c9c32f91758e002782740e8 archspm-16.02.14-noarch-1.xzm
1. Integration of Slackware version and Archlinux version
Change from ldd method to ELF analysis method.
Dependency function did not work in "ArchLinux packages Porteus" ISO.
Therefore analyzing method was changed.
2. Bug fixing
Dependent packages analysis processing error correction.
3. Improvement
Faster processing speed.
---------------------------------------------------------------------
[update APorteus-FVWM ISO]
APorteus-FVWM ISO can be updated by the following transaction.
upv16.02.15.tar (8 M)
http://www.mediafire.com/download/r3pqh ... .02.15.tar
md5sum: b1808d6221e94599890ed0a902144033 upv16.02.15.tar
--contents--
upv16.02.15/32/003-z.fvwm.xzm .... replace 32bit-ISO@porteus/base/003-z.fvwm.xzm
upv16.02.15/64/003-z.fvwm.xzm .... replace 64bit-ISO@porteus/base/003-z.fvwm.xzm
--update items--
1. add-on modules (archspm) are updated.
2. a command ('readelf' needed by 'archspm') are added.
--how to update--
example: update APorteus-FVWM-v16.01.31-x86_64.iso .
execute on APorteus-FVWM-v16.01.31-x86_64.iso running environment.
Code: Select all
% su
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
upv16.02.15.tar
# tar -xf upv16.02.15.tar
# dISO APorteus-FVWM-v16.01.31-x86_64.iso
# mv upv16.02.15/64/* APorteus-FVWM-v16.01.31-x86_64/porteus/base/.
# mv APorteus-FVWM-v16.01.31-x86_64 APorteus-FVWM-v16.02.15-x86_64
# mkISO APorteus-FVWM-v16.02.15-x86_64
# rm -fr APorteus-FVWM-v16.02.15-x86_64
# ls -1
APorteus-FVWM-v16.01.31-x86_64.iso
APorteus-FVWM-v16.02.15-x86_64.iso
upv16.02.15.tar
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
The archspm was updated to run on "Archlinux packages Porteus ISO".
A trial module is offered to run the archspm on nemesis.
archspm4nemesis-16.02.14-2.tar (666 K)
http://www.mediafire.com/download/8qhvr ... 2.14-2.tar
md5sum: 41bf4df996f204f69b3e6c9625abf429 archspm4nemesis-16.02.14-2.tar
--contents--
archspm4nemesis-16.02.14-i686-2.xzm ..... for 32bit nemesis
archspm4nemesis-16.02.14-x86_64-2.xzm ... for 64bit nemesis
archspm4nemesis-16.02.14-i686-2.xzm/archspm4nemesis-16.02.14-x86_64-2.xzm
is constructed with following packages.
1. archspm-16.02.14-noarch-2
The "getBaseLib" function of "arch_get_PKG" shell source of "archspm-16.02.14-noarch-1" package
is modified for getting package information created by pacman.
2. readelf-2.25.1-i686-3/readelf-2.25.1-x86_64-3
The "readelf" command, that is gotten from "binutils" package, is used by "archspm".
It is not included in nemesis.
3. gtkdialog-svn-514-i686-7/gtkdialog-svn-514-x86_64-7
The "archspm" uses the "gtkdialog" that has the function to implement terminal.
This "gtkdialog" is gotten from "AUR of Archlinux".
It is not included in nemesis.
4. gksu-2.0.2-i686-5/gksu-2.0.2-x86_64-5
libgksu-2.0.12-i686-6/libgksu-2.0.12-x86_64-6
libgtop-2.32.0-i686-1/libgtop-2.32.0-x86_64-1
A graphical "su" is used by "archspm".
These are not included in nemesis.
--result--
Testted on porteus-nemesis-v3.5-lxde-i486.iso/porteus-nemesis-v3.5-lxde-x86_64.iso
There are something issue between "archspm" and "pacman".
Example:
"archspm" judges that nemesis includes "libwebp" package.
But there is not the shared library "libwebp.so.6" in nemesis.
Thanks.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: ArchLinux packages manager for Porteus
1. "archspm"
CUI command "acuiUpdate" of "archsmp" will update the packages that were created by "archsmp" in the module.
The 'lib4XXX' package was created with libraries on which 'XXX' package depends.
OLD:
"acuiUpdate" will update the packages of a module
which are constructed with only packages that were converted from 'archlinux' package.
NEW:
"acuiUpdate" will update this 'lib4XXX' package too.
2. "APorteus FVWM" ISO were updated to v16.02.23.
(1) The module construction was changed.
(2) The video player "mplayer" was changed to "mpv".
(3) "Skype" was introduced in 32bit ISO.
(4) File manager "xfe" was introduced.
(5) minimum version: 250/260 M
Please refer to
the second article for "acuiUpdate" command
http://forum.porteus.org/viewtopic.php? ... 997#p36688
and
the third article for "APorteus FVWM" ISO
http://forum.porteus.org/viewtopic.php? ... 997#p36689
Thanks.