atualizao dos scripts de construçao
This commit is contained in:
parent
7399ca2476
commit
a6a2ab48d3
|
@ -1,7 +1,7 @@
|
||||||
source /boot/grub/config.cfg
|
source /boot/grub/config.cfg
|
||||||
|
|
||||||
menuentry "My-distro Live" {
|
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
|
initrd /live/initrd.img
|
||||||
}
|
}
|
||||||
menuentry "My-distro Live (fail-safe mode)" {
|
menuentry "My-distro Live (fail-safe mode)" {
|
||||||
|
|
|
@ -4,7 +4,7 @@ DEFAULT My-distro Live
|
||||||
LABEL My-distro Live
|
LABEL My-distro Live
|
||||||
SAY "Booting My-distro Live..."
|
SAY "Booting My-distro Live..."
|
||||||
linux /live/vmlinuz
|
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
|
LABEL My-distro live failsafe
|
||||||
menu label My-distro Live failsafe
|
menu label My-distro Live failsafe
|
||||||
|
|
|
@ -2,62 +2,58 @@
|
||||||
<actions>
|
<actions>
|
||||||
<action>
|
<action>
|
||||||
<icon>utilities-terminal</icon>
|
<icon>utilities-terminal</icon>
|
||||||
<name>Abrir terminal aqui</name>
|
<name>Open terminal here</name>
|
||||||
|
<submenu></submenu>
|
||||||
<unique-id>1615372407408747-1</unique-id>
|
<unique-id>1615372407408747-1</unique-id>
|
||||||
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
|
<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>
|
<patterns>*</patterns>
|
||||||
<startup-notify/>
|
<startup-notify/>
|
||||||
<directories/>
|
<directories/>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>org.xfce.thunar</icon>
|
<icon>org.xfce.thunar</icon>
|
||||||
<name>Abrir como root</name>
|
<name>Open as root</name>
|
||||||
|
<submenu></submenu>
|
||||||
<unique-id>1616353956436746-1</unique-id>
|
<unique-id>1616353956436746-1</unique-id>
|
||||||
<command>pkexec thunar</command>
|
<command>pkexec thunar %f</command>
|
||||||
<description>Abrir como root</description>
|
<description>Open as root</description>
|
||||||
|
<range></range>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<directories/>
|
<directories/>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>preferences-system-search</icon>
|
<icon>preferences-system-search</icon>
|
||||||
<name>Procurar por ficheiros</name>
|
<name>Search for files</name>
|
||||||
|
<submenu></submenu>
|
||||||
<unique-id>1616359736871731-4</unique-id>
|
<unique-id>1616359736871731-4</unique-id>
|
||||||
<command>catfish --path=%f</command>
|
<command>catfish --path=%f</command>
|
||||||
<description>localizar arquivos e pastas</description>
|
<description>Find files and folders</description>
|
||||||
|
<range></range>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<directories/>
|
<directories/>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>edit-delete</icon>
|
<icon>accessories-text-editor</icon>
|
||||||
<name>Remover como root</name>
|
<name>Edit as root</name>
|
||||||
<unique-id>1616360545203289-6</unique-id>
|
<submenu></submenu>
|
||||||
<command>xterm -g 35x5 -fa 'Luxi Mono' -fs 14 -e sudo rm -rf %F</command>
|
<unique-id>1687651355823916-1</unique-id>
|
||||||
<description>Remover arquivos e pastas</description>
|
<command>pkexec mousepad %f</command>
|
||||||
|
<description>Edit as root</description>
|
||||||
|
<range>*</range>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<directories/>
|
|
||||||
<audio-files/>
|
|
||||||
<image-files/>
|
|
||||||
<other-files/>
|
|
||||||
<text-files/>
|
<text-files/>
|
||||||
<video-files/>
|
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>application-x-iso</icon>
|
<icon>application-vnd.oasis.opendocument.text-template</icon>
|
||||||
<name>Montar ficheiros de imagem</name>
|
<name> Open in Terminal</name>
|
||||||
<unique-id>1616360728478102-7</unique-id>
|
<submenu></submenu>
|
||||||
<command>fuseiso -n -p %f %f.mount ; thunar %f.mount</command>
|
<unique-id>1687651793865147-4</unique-id>
|
||||||
<description>Montar ficheiros de imagem</description>
|
<command>xfce4-terminal -x nano %f</command>
|
||||||
|
<description> Open in Terminal</description>
|
||||||
|
<range>*</range>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<other-files/>
|
<text-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/>
|
|
||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-debian
|
||||||
SUFFIX=i386-pae
|
SUFFIX=i386-pae
|
||||||
BUILD=deb-32-pae
|
BUILD=deb-32-pae
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-debian-32-pae
|
WorkingDir=$HOME/My-distro-configs/my-distro-debian-32-pae
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,6 +45,6 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-debian
|
||||||
SUFFIX=i386
|
SUFFIX=i386
|
||||||
BUILD=deb-32
|
BUILD=deb-32
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-debian-32
|
WorkingDir=$HOME/My-distro-configs/my-distro-debian-32
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,7 +45,7 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-debian
|
||||||
SUFFIX=amd65
|
SUFFIX=amd65
|
||||||
BUILD=deb-64
|
BUILD=deb-64
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-debian-64
|
WorkingDir=$HOME/My-distro-configs/my-distro-debian-64
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,7 +45,7 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-devuan
|
||||||
SUFFIX=i386-pae
|
SUFFIX=i386-pae
|
||||||
BUILD=dev-32-pae
|
BUILD=dev-32-pae
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-devuan-32-pae
|
WorkingDir=$HOME/My-distro-configs/my-distro-devuan-32-pae
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,6 +45,6 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
source /boot/grub/config.cfg
|
source /boot/grub/config.cfg
|
||||||
|
|
||||||
menuentry "My-distro Live" {
|
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
|
initrd /live/initrd.img
|
||||||
}
|
}
|
||||||
menuentry "My-distro Live (fail-safe mode)" {
|
menuentry "My-distro Live (fail-safe mode)" {
|
||||||
|
|
|
@ -4,7 +4,7 @@ DEFAULT My-distro Live
|
||||||
LABEL My-distro Live
|
LABEL My-distro Live
|
||||||
SAY "Booting My-distro Live..."
|
SAY "Booting My-distro Live..."
|
||||||
linux /live/vmlinuz
|
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
|
LABEL My-distro live failsafe
|
||||||
menu label My-distro Live failsafe
|
menu label My-distro Live failsafe
|
||||||
|
|
|
@ -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/skel/Desktop
|
||||||
mkdir -p $build/build/config/includes.chroot/etc/default
|
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/boot/grub/themes
|
||||||
|
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
|
||||||
|
|
||||||
# Copy Configs to the chroot
|
# Copy Configs to the chroot
|
||||||
cp $build/userconfig/* $build/build/config/includes.chroot/etc/live/config.conf.d
|
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/bootloader-config/* $build/build/config/includes.chroot/usr/sbin
|
||||||
cp $build/grub/grub $build/build/config/includes.chroot/etc/default
|
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/lightdm/* $build/build/config/includes.chroot/etc/lightdm
|
||||||
cp -r $build/bootloaders/* $build/build/config/includes.binary
|
cp -r $build/bootloaders/* $build/build/config/includes.binary
|
||||||
cp -r $build/repos/* $build/build/config/archives
|
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/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth/themes
|
||||||
cp -r $build/packages/* $build/build/config/packages.chroot
|
cp -r $build/packages/* $build/build/config/packages.chroot
|
||||||
cp -r $build/grub/themes/* $build/build/config/includes.chroot/boot/grub/themes
|
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
|
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 #
|
# build the ISO #
|
||||||
lb build #--debug --verbose
|
lb build #--debug --verbose
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-devuan
|
||||||
SUFFIX=i386
|
SUFFIX=i386
|
||||||
BUILD=dev-32
|
BUILD=dev-32
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-devuan-32
|
WorkingDir=$HOME/My-distro-configs/my-distro-devuan-32
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,6 +45,6 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
source /boot/grub/config.cfg
|
source /boot/grub/config.cfg
|
||||||
|
|
||||||
menuentry "My-distro Live" {
|
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
|
initrd /live/initrd.img
|
||||||
}
|
}
|
||||||
menuentry "My-distro Live (fail-safe mode)" {
|
menuentry "My-distro Live (fail-safe mode)" {
|
||||||
|
|
|
@ -4,7 +4,7 @@ DEFAULT My-distro Live
|
||||||
LABEL My-distro Live
|
LABEL My-distro Live
|
||||||
SAY "Booting My-distro Live..."
|
SAY "Booting My-distro Live..."
|
||||||
linux /live/vmlinuz
|
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
|
LABEL My-distro live failsafe
|
||||||
menu label My-distro Live failsafe
|
menu label My-distro Live failsafe
|
||||||
|
|
|
@ -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/skel/Desktop
|
||||||
mkdir -p $build/build/config/includes.chroot/etc/default
|
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/boot/grub/themes
|
||||||
|
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
|
||||||
|
|
||||||
# Copy Configs to the chroot
|
# Copy Configs to the chroot
|
||||||
cp $build/userconfig/* $build/build/config/includes.chroot/etc/live/config.conf.d
|
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/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth/themes
|
||||||
cp -r $build/packages/* $build/build/config/packages.chroot
|
cp -r $build/packages/* $build/build/config/packages.chroot
|
||||||
cp -r $build/grub/themes/* $build/build/config/includes.chroot/boot/grub/themes
|
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
|
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 #
|
# build the ISO #
|
||||||
lb build #--debug --verbose
|
lb build #--debug --verbose
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-devuan
|
||||||
SUFFIX=amd64
|
SUFFIX=amd64
|
||||||
BUILD=dev-64
|
BUILD=dev-64
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-devuan-64
|
WorkingDir=$HOME/My-distro-configs/my-distro-devuan-64
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,6 +45,6 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
|
@ -4,8 +4,7 @@ DEFAULT My-distro Live
|
||||||
LABEL My-distro Live
|
LABEL My-distro Live
|
||||||
SAY "Booting My-distro Live..."
|
SAY "Booting My-distro Live..."
|
||||||
linux /live/vmlinuz
|
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
|
LABEL My-distro live failsafe
|
||||||
menu label My-distro Live failsafe
|
menu label My-distro Live failsafe
|
||||||
kernel /live/vmlinuz
|
kernel /live/vmlinuz
|
||||||
|
|
|
@ -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/etc/default
|
||||||
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
|
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/boot/grub/themes
|
||||||
|
mkdir -p $build/build/config/includes.chroot/usr/share/python-apt/templates
|
||||||
|
|
||||||
# Copy Configs to the chroot
|
# Copy Configs to the chroot
|
||||||
cp $build/userconfig/* $build/build/config/includes.chroot/etc/live/config.conf.d
|
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/hooks/normal/* $build/build/config/hooks/normal
|
||||||
cp $build/install-debian/* $build/build/config/includes.chroot/usr/share/pixmaps
|
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/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 $build/grub/grub $build/build/config/includes.chroot/etc/default
|
||||||
|
|
||||||
cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm
|
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/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth/themes
|
||||||
cp -r $build/packages/* $build/build/config/packages.chroot
|
cp -r $build/packages/* $build/build/config/packages.chroot
|
||||||
cp -r $build/grub/themes/* $build/build/config/includes.chroot/boot/grub/themes
|
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
|
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 #
|
# Build the ISO #
|
||||||
lb build #--debug --verbose
|
lb build #--debug --verbose
|
||||||
|
|
|
@ -13,9 +13,9 @@ PREFIX=My-distro-ubuntu
|
||||||
SUFFIX=amd64
|
SUFFIX=amd64
|
||||||
BUILD=ubuntu-64
|
BUILD=ubuntu-64
|
||||||
FileName="${PREFIX}-${SUFFIX}"
|
FileName="${PREFIX}-${SUFFIX}"
|
||||||
LOCATION=/var/www/html/nightly/my-distro/${BUILD}
|
LOCATION=$HOME/out/${BUILD}
|
||||||
LogDir=/var/log/Live-Build
|
LogDir=$HOME/logs
|
||||||
WorkingDir=/home/manuel/My-distro-configs/my-distro-ubuntu-64
|
WorkingDir=$HOME/My-distro-configs/my-distro-ubuntu-64
|
||||||
|
|
||||||
# Execute the ISO building script
|
# Execute the ISO building script
|
||||||
cd ${WorkingDir}
|
cd ${WorkingDir}
|
||||||
|
@ -45,6 +45,6 @@ fi
|
||||||
# Clean the build folder
|
# Clean the build folder
|
||||||
lb clean
|
lb clean
|
||||||
|
|
||||||
# Remove the "fusato" directory and its contents
|
# Remove the "build" directory and its contents
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
source /boot/grub/config.cfg
|
source /boot/grub/config.cfg
|
||||||
|
|
||||||
menuentry "My-distro Live" {
|
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
|
initrd /live/initrd.img
|
||||||
}
|
}
|
||||||
menuentry "My-distro Live (fail-safe mode)" {
|
menuentry "My-distro Live (fail-safe mode)" {
|
||||||
|
|
|
@ -4,7 +4,7 @@ DEFAULT My-distro Live
|
||||||
LABEL My-distro Live
|
LABEL My-distro Live
|
||||||
SAY "Booting My-distro Live..."
|
SAY "Booting My-distro Live..."
|
||||||
linux /live/vmlinuz
|
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
|
LABEL My-distro live failsafe
|
||||||
menu label My-distro Live failsafe
|
menu label My-distro Live failsafe
|
||||||
|
|
Loading…
Reference in New Issue