atualizao dos scripts de construçao

This commit is contained in:
manuel 2023-10-31 12:19:45 -01:00
parent 7399ca2476
commit a6a2ab48d3
20 changed files with 69 additions and 95 deletions

View File

@ -1,7 +1,7 @@
source /boot/grub/config.cfg
menuentry "My-distro Live" {
linux /live/vmlinuz boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
linux /live/vmlinuz boot=live components splash quiet username=user hostname=My-distro autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "My-distro Live (fail-safe mode)" {

View File

@ -4,7 +4,7 @@ DEFAULT My-distro Live
LABEL My-distro Live
SAY "Booting My-distro Live..."
linux /live/vmlinuz
APPEND initrd=/live/initrd.img boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores
APPEND initrd=/live/initrd.img boot=live components splash quiet username=user hostname=My-distro
LABEL My-distro live failsafe
menu label My-distro Live failsafe

View File

@ -2,62 +2,58 @@
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Abrir terminal aqui</name>
<name>Open terminal here</name>
<submenu></submenu>
<unique-id>1615372407408747-1</unique-id>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Exemplo de uma ação personalizada</description>
<description>Example of a custom action</description>
<range></range>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<icon>org.xfce.thunar</icon>
<name>Abrir como root</name>
<name>Open as root</name>
<submenu></submenu>
<unique-id>1616353956436746-1</unique-id>
<command>pkexec thunar</command>
<description>Abrir como root</description>
<command>pkexec thunar %f</command>
<description>Open as root</description>
<range></range>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>preferences-system-search</icon>
<name>Procurar por ficheiros</name>
<name>Search for files</name>
<submenu></submenu>
<unique-id>1616359736871731-4</unique-id>
<command>catfish --path=%f</command>
<description>localizar arquivos e pastas</description>
<description>Find files and folders</description>
<range></range>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>edit-delete</icon>
<name>Remover como root</name>
<unique-id>1616360545203289-6</unique-id>
<command>xterm -g 35x5 -fa &apos;Luxi Mono&apos; -fs 14 -e sudo rm -rf %F</command>
<description>Remover arquivos e pastas</description>
<icon>accessories-text-editor</icon>
<name>Edit as root</name>
<submenu></submenu>
<unique-id>1687651355823916-1</unique-id>
<command>pkexec mousepad %f</command>
<description>Edit as root</description>
<range>*</range>
<patterns>*</patterns>
<directories/>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
<action>
<icon>application-x-iso</icon>
<name>Montar ficheiros de imagem</name>
<unique-id>1616360728478102-7</unique-id>
<command>fuseiso -n -p %f %f.mount ; thunar %f.mount</command>
<description>Montar ficheiros de imagem</description>
<icon>application-vnd.oasis.opendocument.text-template</icon>
<name> Open in Terminal</name>
<submenu></submenu>
<unique-id>1687651793865147-4</unique-id>
<command>xfce4-terminal -x nano %f</command>
<description> Open in Terminal</description>
<range>*</range>
<patterns>*</patterns>
<other-files/>
</action>
<action>
<icon>application-x-iso</icon>
<name>Desmontar Imagem</name>
<unique-id>1616361698703082-8</unique-id>
<command>fusermount -u -z %f</command>
<description>Desmontar Imagem</description>
<patterns>*</patterns>
<other-files/>
<text-files/>
</action>
</actions>

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-debian
SUFFIX=i386-pae
BUILD=deb-32-pae
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-debian-32-pae
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-debian-32-pae
# Execute the ISO building script
cd ${WorkingDir}
@ -45,6 +45,6 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-debian
SUFFIX=i386
BUILD=deb-32
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-debian-32
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-debian-32
# Execute the ISO building script
cd ${WorkingDir}
@ -45,7 +45,7 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-debian
SUFFIX=amd65
BUILD=deb-64
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-debian-64
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-debian-64
# Execute the ISO building script
cd ${WorkingDir}
@ -45,7 +45,7 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-devuan
SUFFIX=i386-pae
BUILD=dev-32-pae
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-devuan-32-pae
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-devuan-32-pae
# Execute the ISO building script
cd ${WorkingDir}
@ -45,6 +45,6 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -1,7 +1,7 @@
source /boot/grub/config.cfg
menuentry "My-distro Live" {
linux /live/vmlinuz boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
linux /live/vmlinuz boot=live components splash quiet username=user hostname=My-distro autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "My-distro Live (fail-safe mode)" {

View File

@ -4,7 +4,7 @@ DEFAULT My-distro Live
LABEL My-distro Live
SAY "Booting My-distro Live..."
linux /live/vmlinuz
APPEND initrd=/live/initrd.img boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores
APPEND initrd=/live/initrd.img boot=live components splash quiet username=user hostname=My-distro
LABEL My-distro live failsafe
menu label My-distro Live failsafe

View File

@ -249,6 +249,7 @@ mkdir -p $build/build/config/includes.chroot/usr/share/desktop-base
mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop
mkdir -p $build/build/config/includes.chroot/etc/default
mkdir -p $build/build/config/includes.chroot/boot/grub/themes
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
# Copy Configs to the chroot
cp $build/userconfig/* $build/build/config/includes.chroot/etc/live/config.conf.d
@ -260,7 +261,6 @@ cp $build/sources-final/* $build/build/config/includes.chroot/usr/sbin
cp $build/bootloader-config/* $build/build/config/includes.chroot/usr/sbin
cp $build/grub/grub $build/build/config/includes.chroot/etc/default
cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm
cp -r $build/bootloaders/* $build/build/config/includes.binary
cp -r $build/repos/* $build/build/config/archives
@ -273,16 +273,7 @@ cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes
#cp -r $build/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth/themes
cp -r $build/packages/* $build/build/config/packages.chroot
cp -r $build/grub/themes/* $build/build/config/includes.chroot/boot/grub/themes
# Resolves Synaptics issue. Might be better in a conf hook.
mkdir -p $build/build/config/includes.chroot/usr/share/distro-info
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
cp -r $build/devuan/* $build/build/config/includes.chroot/usr/share/python-apt/templates
ln -s Devuan.info $build/build/config/includes.chroot/usr/share/python-apt/templates/My-distro.info
ln -s Devuan.mirrors $build/build/config/includes.chroot/usr/share/python-apt/templates/My-distro.mirrors
ln -s devuan.csv $build/build/config/includes.chroot/usr/share/distro-info/my-distro.csv
# build the ISO #
lb build #--debug --verbose

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-devuan
SUFFIX=i386
BUILD=dev-32
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-devuan-32
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-devuan-32
# Execute the ISO building script
cd ${WorkingDir}
@ -45,6 +45,6 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -1,7 +1,7 @@
source /boot/grub/config.cfg
menuentry "My-distro Live" {
linux /live/vmlinuz boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
linux /live/vmlinuz boot=live components splash quiet username=user hostname=My-distro autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "My-distro Live (fail-safe mode)" {

View File

@ -4,7 +4,7 @@ DEFAULT My-distro Live
LABEL My-distro Live
SAY "Booting My-distro Live..."
linux /live/vmlinuz
APPEND initrd=/live/initrd.img boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores
APPEND initrd=/live/initrd.img boot=live components splash quiet username=user hostname=My-distro
LABEL My-distro live failsafe
menu label My-distro Live failsafe

View File

@ -250,6 +250,7 @@ mkdir -p $build/build/config/includes.chroot/usr/share/desktop-base
mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop
mkdir -p $build/build/config/includes.chroot/etc/default
mkdir -p $build/build/config/includes.chroot/boot/grub/themes
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
# Copy Configs to the chroot
cp $build/userconfig/* $build/build/config/includes.chroot/etc/live/config.conf.d
@ -273,14 +274,7 @@ cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes
#cp -r $build/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth/themes
cp -r $build/packages/* $build/build/config/packages.chroot
cp -r $build/grub/themes/* $build/build/config/includes.chroot/boot/grub/themes
# Resolves Synaptics issue. Might be better in a conf hook.
mkdir -p $build/build/config/includes.chroot/usr/share/distro-info
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
cp -r $build/devuan/* $build/build/config/includes.chroot/usr/share/python-apt/templates
ln -s Devuan.info $build/build/config/includes.chroot/usr/share/python-apt/templates/My-distro.info
ln -s Devuan.mirrors $build/build/config/includes.chroot/usr/share/python-apt/templates/My-distro.mirrors
ln -s devuan.csv $build/build/config/includes.chroot/usr/share/distro-info/my-distro.csv
# build the ISO #
lb build #--debug --verbose

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-devuan
SUFFIX=amd64
BUILD=dev-64
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-devuan-64
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-devuan-64
# Execute the ISO building script
cd ${WorkingDir}
@ -45,6 +45,6 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -4,8 +4,7 @@ DEFAULT My-distro Live
LABEL My-distro Live
SAY "Booting My-distro Live..."
linux /live/vmlinuz
APPEND initrd=/live/initrd.img boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores
APPEND initrd=/live/initrd.img boot=live components splash quiet username=user hostname=My-distro
LABEL My-distro live failsafe
menu label My-distro Live failsafe
kernel /live/vmlinuz

View File

@ -251,7 +251,7 @@ mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop
mkdir -p $build/build/config/includes.chroot/etc/default
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
mkdir -p $build/build/config/includes.chroot/boot/grub/themes
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
# Copy Configs to the chroot
cp $build/userconfig/* $build/build/config/includes.chroot/etc/live/config.conf.d
@ -260,6 +260,7 @@ cp $build/hooks/live/* $build/build/config/hooks/live
cp $build/hooks/normal/* $build/build/config/hooks/normal
cp $build/install-debian/* $build/build/config/includes.chroot/usr/share/pixmaps
cp $build/sources-final/* $build/build/config/includes.chroot/usr/sbin
cp $build/bootloader-config/* $build/build/config/includes.chroot/usr/sbin
cp $build/grub/grub $build/build/config/includes.chroot/etc/default
cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm
@ -274,14 +275,7 @@ cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes
#cp -r $build/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth/themes
cp -r $build/packages/* $build/build/config/packages.chroot
cp -r $build/grub/themes/* $build/build/config/includes.chroot/boot/grub/themes
# Resolves Synaptics issue. Might be better in a conf hook.
mkdir -p $build/build/config/includes.chroot/usr/share/distro-info
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
cp -r $build/devuan/* $build/build/config/includes.chroot/usr/share/python-apt/templates
ln -s Devuan.info $build/build/config/includes.chroot/usr/share/python-apt/templates/My-distro.info
ln -s Devuan.mirrors $build/build/config/includes.chroot/usr/share/python-apt/templates/My-distro.mirrors
ln -s devuan.csv $build/build/config/includes.chroot/usr/share/distro-info/my-distro.csv
# Build the ISO #
lb build #--debug --verbose

View File

@ -13,9 +13,9 @@ PREFIX=My-distro-ubuntu
SUFFIX=amd64
BUILD=ubuntu-64
FileName="${PREFIX}-${SUFFIX}"
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
LogDir=/var/log/Live-Build
WorkingDir=/home/manuel/My-distro-configs/my-distro-ubuntu-64
LOCATION=$HOME/out/${BUILD}
LogDir=$HOME/logs
WorkingDir=$HOME/My-distro-configs/my-distro-ubuntu-64
# Execute the ISO building script
cd ${WorkingDir}
@ -45,6 +45,6 @@ fi
# Clean the build folder
lb clean
# Remove the "fusato" directory and its contents
# Remove the "build" directory and its contents
cd ..
rm -rf build

View File

@ -1,7 +1,7 @@
source /boot/grub/config.cfg
menuentry "My-distro Live" {
linux /live/vmlinuz boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores autologin "${loopback}"
linux /live/vmlinuz boot=live components splash quiet username=user hostname=My-distro autologin "${loopback}"
initrd /live/initrd.img
}
menuentry "My-distro Live (fail-safe mode)" {

View File

@ -4,7 +4,7 @@ DEFAULT My-distro Live
LABEL My-distro Live
SAY "Booting My-distro Live..."
linux /live/vmlinuz
APPEND initrd=/live/initrd.img boot=live components splash quiet locales=pt_PT.UTF-8 keyboard-layouts=pt username=user hostname=My-distro timezone=atlantic/azores
APPEND initrd=/live/initrd.img boot=live components splash quiet username=user hostname=My-distro
LABEL My-distro live failsafe
menu label My-distro Live failsafe