Browse Source

Everything works for automatic build.

master
crims0n 4 years ago
parent
commit
0328dfedcd
  1. 2
      autoinstall
  2. 2
      install
  3. 5
      linux-live/aptsources/bullseye.list
  4. 16
      linux-live/basesystem/01-casper/install
  5. 17
      linux-live/basesystem/01-casper/package.list
  6. 14
      linux-live/basesystem/01-casper/rootcopy/etc/casper.conf
  7. 2
      linux-live/basesystem/01-casper/rootcopy/etc/issue
  8. 1
      linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/helpers.rc
  9. 15
      linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/launcher-19/16093657651.desktop
  10. 16
      linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/launcher-23/16093659533.desktop
  11. 14
      linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/launcher-24/16093659584.desktop
  12. 68
      linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/whiskermenu-1.rc
  13. 123
      linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
  14. 1
      linux-live/basesystem/01-casper/rootcopy/etc/timezone
  15. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/backgrounds/MiniOS.png
  16. 149
      linux-live/basesystem/01-casper/rootcopy/usr/share/pixmaps/MiniOS-white.svg
  17. 1
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/default.plymouth
  18. 4
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/details/details.plymouth
  19. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/fsck-fade.png
  20. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/fsck-fade_16bit.png
  21. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/logo.png
  22. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/logo_16bit.png
  23. 8
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/minios-logo.plymouth
  24. 512
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/minios-logo.script
  25. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/passw-dialog.png
  26. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-fade.png
  27. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-fade_16bit.png
  28. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-meter.png
  29. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-meter_16bit.png
  30. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/spinner.png
  31. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/test.png
  32. BIN
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/wallpaper.png
  33. 11
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-text/minios-text.plymouth
  34. 1
      linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/text.plymouth
  35. 3
      linux-live/basesystem/01-core/install
  36. 7
      linux-live/basesystem/01-core/package.list
  37. 103
      linux-live/basesystem/01-core/postinstall
  38. 0
      linux-live/basesystem/01-core/rootcopy/home/live/.bashrc
  39. 214
      linux-live/minioslib
  40. 3
      linux-live/modules/01-firmware/install
  41. 92
      linux-live/modules/01-firmware/postinstall
  42. 5
      linux-live/modules/02-xorg/install
  43. 0
      linux-live/modules/02-xorg/package.list
  44. 113
      linux-live/modules/02-xorg/postinstall
  45. 30
      linux-live/modules/02-xorg/rootcopy/home/live/.Xresources
  46. 5
      linux-live/modules/02-xorg/rootcopy/home/live/.blackbox-menu
  47. 6
      linux-live/modules/02-xorg/rootcopy/home/live/.blackboxrc
  48. 91
      linux-live/modules/03-desktop/cleanup
  49. 9
      linux-live/modules/03-desktop/install
  50. 68
      linux-live/modules/03-desktop/install2
  51. 19
      linux-live/modules/03-desktop/rootcopy/home/live/.config/volumeicon/volumeicon
  52. 20
      linux-live/modules/03-desktop/rootcopy/home/live/.config/xarchiver/xarchiverrc
  53. 18
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/apps
  54. 0
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/fbrun_history
  55. 76
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/init
  56. 1
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/kblayout
  57. 139
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/keys
  58. 1
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/lastwallpaper
  59. 68
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/menu
  60. 2
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/overlay
  61. 0
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/slitlist
  62. 111
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/startup
  63. 15
      linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/windowmenu
  64. 1
      linux-live/modules/03-desktop/rootcopy/home/live/.xinitrc
  65. BIN
      linux-live/modules/03-desktop/rootcopy/usr/share/wallpapers/slax_wallpaper.jpg
  66. 91
      linux-live/modules/04-apps/cleanup
  67. 11
      linux-live/modules/04-apps/install
  68. 32
      linux-live/modules/04-apps/install2
  69. 45
      linux-live/modules/04-apps/rootcopy/home/live/.config/libfm/libfm.conf
  70. 26
      linux-live/modules/04-apps/rootcopy/home/live/.config/pcmanfm/default/pcmanfm.conf
  71. 127
      linux-live/modules/04-apps/rootcopy/home/live/.qalculate/qalculate-gtk.cfg
  72. 91
      linux-live/modules/05-chromium/cleanup
  73. 18
      linux-live/modules/05-chromium/install
  74. 41
      linux-live/pkglists/main.list
  75. 2
      linux-live/pkglists/prereq.list

2
autoinstall

@ -19,7 +19,7 @@ set -u
# don't change! use ./install instead
UNATTENDED="1"
CMD=(setup_host build_bootstrap build_chroot build_live build_modules_chroot build_modules_live build_iso)
CMD=(setup_host build_bootstrap build_chroot build_live build_modules_chroot build_iso)
# ============= main ================

2
install

@ -19,7 +19,7 @@ set -u
# don't change! use ./autoinstall instead
UNATTENDED="0"
CMD=(setup_host build_bootstrap build_chroot build_live build_modules_chroot build_modules_live build_iso)
CMD=(setup_host build_bootstrap build_chroot build_live build_modules_chroot build_iso)
# ============= main ================

5
linux-live/aptsources/bullseye.list

@ -0,0 +1,5 @@
deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main
deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

16
linux-live/basesystem/01-casper/install

@ -1,16 +0,0 @@
#!/bin/bash
set -e # exit on error
set -o pipefail # exit on pipeline error
set -u # treat unset variable as error
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
# install packages
if [ -f $SCRIPT_DIR/package.list ]; then
#sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
#sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/package.list | tr "\n" " ") >>$OUTPUT 2>&1
fi

17
linux-live/basesystem/01-casper/package.list

@ -1,17 +0,0 @@
# since we work without modules, we install everything in one file
# main
casper
lupin-casper
discover
laptop-detect
os-prober
network-manager
net-tools
wireless-tools
# gui
xubuntu-core^
ubiquity
ubiquity-casper
ubiquity-frontend-gtk
ubiquity-slideshow-xubuntu
ubiquity-ubuntu-artwork

14
linux-live/basesystem/01-casper/rootcopy/etc/casper.conf

@ -1,14 +0,0 @@
# This file should go in /etc/casper.conf
# Supported variables are:
# USERNAME, USERFULLNAME, HOST, BUILD_SYSTEM, FLAVOUR
export USERNAME="live"
export USERFULLNAME="Live session user"
export HOST="minios"
export BUILD_SYSTEM="Ubuntu"
# USERNAME and HOSTNAME as specified above won't be honoured and will be set to
# flavour string acquired at boot time, unless you set FLAVOUR to any
# non-empty string.
# export FLAVOUR="Ubuntu"

2
linux-live/basesystem/01-casper/rootcopy/etc/issue

@ -1,2 +0,0 @@
Welcome to MiniOS! \n \l

1
linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/helpers.rc

@ -1 +0,0 @@
WebBrowser=google-chrome

15
linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/launcher-19/16093657651.desktop

@ -1,15 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Exec=exo-open --launch FileManager %u
Icon=system-file-manager
StartupNotify=true
Terminal=false
Categories=Utility;X-XFCE;X-Xfce-Toplevel;
OnlyShowIn=XFCE;
X-XFCE-MimeType=inode/directory;x-scheme-handler/trash;
Name=File Manager
Name[ru]=Файловый менеджер
Comment=Browse the file system
Comment[ru]=Просмотреть файловую систему
X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop

16
linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/launcher-23/16093659533.desktop

@ -1,16 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Exec=exo-open --launch WebBrowser %u
Icon=web-browser
StartupNotify=true
Terminal=false
Categories=Network;X-XFCE;X-Xfce-Toplevel;
OnlyShowIn=XFCE;
X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https;
Name=Web Browser
Name[ru]=Веб-браузер
Comment=Browse the web
Comment[ru]=Смотреть в Интернете
X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop
Path=

14
linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/launcher-24/16093659584.desktop

@ -1,14 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Exec=exo-open --launch TerminalEmulator
Icon=utilities-terminal
StartupNotify=true
Terminal=false
Categories=Utility;X-XFCE;X-Xfce-Toplevel;
OnlyShowIn=XFCE;
Name=Terminal Emulator
Name[ru]=Эмулятор терминала
Comment=Use the command line
Comment[ru]=Использовать командную строку
X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop

68
linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/panel/whiskermenu-1.rc

@ -1,68 +0,0 @@
favorites=ubiquity.desktop
recent=
button-title=Applications Menu
button-icon=MiniOS-white
button-single-row=false
show-button-title=false
show-button-icon=true
launcher-show-name=true
launcher-show-description=false
launcher-show-tooltip=true
item-icon-size=2
hover-switch-category=false
category-show-name=true
category-icon-size=1
load-hierarchy=true
recent-items-max=10
favorites-in-recent=true
display-recent-default=false
position-search-alternate=true
position-commands-alternate=false
position-categories-alternate=false
menu-width=400
menu-height=500
menu-opacity=100
command-settings=xfce4-settings-manager
show-command-settings=true
command-lockscreen=xflock4
show-command-lockscreen=true
command-switchuser=dm-tool switch-to-greeter
show-command-switchuser=false
command-logout=xfce4-session-logout
show-command-logout=true
command-menueditor=menulibre
show-command-menueditor=true
command-profile=mugshot
show-command-profile=true
search-actions=5
[action0]
name=Man-страницы
pattern=#
command=exo-open --launch TerminalEmulator man %s
regex=false
[action1]
name=Web-поиск
pattern=?
command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u
regex=false
[action2]
name=Википедия
pattern=!w
command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u
regex=false
[action3]
name=Выполнить в терминале
pattern=!
command=exo-open --launch TerminalEmulator %s
regex=false
[action4]
name=Открыть URI
pattern=^(file|http|https):\\/\\/(.*)$
command=exo-open \\0
regex=true

123
linux-live/basesystem/01-casper/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

@ -1,123 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0">
<property name="panels" type="uint" value="1">
<property name="panel-0" type="empty">
<property name="position" type="string" value="p=8;x=1109;y=1275"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="plugin-ids" type="array">
<value type="int" value="1"/>
<value type="int" value="21"/>
<value type="int" value="23"/>
<value type="int" value="19"/>
<value type="int" value="24"/>
<value type="int" value="22"/>
<value type="int" value="2"/>
<value type="int" value="3"/>
<value type="int" value="5"/>
<value type="int" value="4"/>
<value type="int" value="7"/>
<value type="int" value="6"/>
<value type="int" value="9"/>
<value type="int" value="10"/>
<value type="int" value="11"/>
<value type="int" value="12"/>
</property>
<property name="background-style" type="uint" value="0"/>
<property name="background-alpha" type="uint" value="60"/>
<property name="size" type="uint" value="32"/>
<property name="length-adjust" type="bool" value="true"/>
<property name="span-monitors" type="bool" value="false"/>
<property name="enter-opacity" type="uint" value="100"/>
<property name="leave-opacity" type="uint" value="100"/>
<property name="mode" type="uint" value="0"/>
<property name="autohide-behavior" type="uint" value="0"/>
<property name="nrows" type="uint" value="1"/>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-1" type="string" value="whiskermenu"/>
<property name="plugin-2" type="string" value="tasklist">
<property name="flat-buttons" type="bool" value="true"/>
<property name="show-handle" type="bool" value="false"/>
<property name="show-labels" type="bool" value="false"/>
</property>
<property name="plugin-3" type="string" value="separator">
<property name="style" type="uint" value="0"/>
<property name="expand" type="bool" value="true"/>
</property>
<property name="plugin-4" type="string" value="systray">
<property name="show-frame" type="bool" value="false"/>
<property name="size-max" type="uint" value="22"/>
<property name="names-visible" type="array">
<value type="string" value="thunar"/>
<value type="string" value="ctsg"/>
</property>
<property name="names-hidden" type="array">
<value type="string" value="network"/>
<value type="string" value="xfce4-power-manager"/>
<value type="string" value="сеть"/>
<value type="string" value="апплет networkmanager"/>
<value type="string" value="networkmanager applet"/>
<value type="string" value="remmina"/>
</property>
</property>
<property name="plugin-9" type="string" value="pulseaudio">
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
<property name="enable-mpris" type="bool" value="true"/>
<property name="mixer-command" type="string" value="pavucontrol"/>
<property name="mpris-players" type="string" value="parole"/>
<property name="show-notifications" type="bool" value="true"/>
</property>
<property name="plugin-10" type="string" value="separator">
<property name="style" type="uint" value="0"/>
<property name="expand" type="bool" value="false"/>
</property>
<property name="plugin-11" type="string" value="clock">
<property name="digital-format" type="string" value="%d %b, %H:%M"/>
</property>
<property name="plugin-12" type="string" value="showdesktop"/>
<property name="plugin-19" type="string" value="launcher">
<property name="items" type="array">
<value type="string" value="16093657651.desktop"/>
</property>
</property>
<property name="plugin-21" type="string" value="separator">
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-22" type="string" value="separator">
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-23" type="string" value="launcher">
<property name="items" type="array">
<value type="string" value="16093659533.desktop"/>
</property>
<property name="show-label" type="bool" value="false"/>
<property name="disable-tooltips" type="bool" value="false"/>
</property>
<property name="plugin-24" type="string" value="launcher">
<property name="items" type="array">
<value type="string" value="16093659584.desktop"/>
</property>
</property>
<property name="plugin-5" type="string" value="xkb">
<property name="display-scale" type="uint" value="50"/>
<property name="display-tooltip-icon" type="bool" value="true"/>
<property name="group-policy" type="uint" value="0"/>
<property name="display-type" type="uint" value="2"/>
<property name="display-name" type="uint" value="1"/>
</property>
<property name="plugin-7" type="string" value="statusnotifier">
<property name="known-items" type="array">
<value type="string" value="ctsg"/>
<value type="string" value="remmina-icon"/>
<value type="string" value="nm-applet"/>
</property>
<property name="hidden-items" type="array">
</property>
</property>
<property name="plugin-6" type="string" value="power-manager-plugin"/>
</property>
<property name="configver" type="int" value="2"/>
</channel>

1
linux-live/basesystem/01-casper/rootcopy/etc/timezone

@ -1 +0,0 @@
Europe/Moscow

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/backgrounds/MiniOS.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 681 KiB

149
linux-live/basesystem/01-casper/rootcopy/usr/share/pixmaps/MiniOS-white.svg

@ -1,149 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xml:space="preserve"
width="256"
height="256"
version="1.1"
style="clip-rule:evenodd;fill-rule:evenodd;image-rendering:optimizeQuality;shape-rendering:geometricPrecision;text-rendering:geometricPrecision"
viewBox="0 0 256 256"
id="svg345"
sodipodi:docname="MiniOS-wis.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><metadata
id="metadata349"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1241"
inkscape:window-height="523"
id="namedview347"
showgrid="false"
inkscape:snap-global="false"
inkscape:zoom="0.984375"
inkscape:cx="235.54225"
inkscape:cy="107.04132"
inkscape:window-x="919"
inkscape:window-y="246"
inkscape:window-maximized="0"
inkscape:current-layer="Слой_x0020_1" />
<defs
id="defs292">
<font
id="FontID0"
horiz-adv-x="606"
font-variant="normal"
style="fill-rule:nonzero"
font-weight="700"
horiz-origin-x="0"
horiz-origin-y="0"
vert-origin-x="512"
vert-origin-y="768"
vert-adv-y="1024">
<font-face
font-family="Calibri"
id="font-face273">
<font-face-src>
<font-face-name
name="Calibri Bold" />
</font-face-src>
</font-face>
<missing-glyph
id="missing-glyph277"><path
d="M0 0z"
id="path275" /></missing-glyph>
<glyph
unicode="M"
horiz-adv-x="874"
d="M805.029 17.4996c0,-3.16292 -0.828384,-6.16581 -2.66401,-8.82982 -1.83562,-2.50398 -5.16799,-4.66907 -9.83706,-6.33525 -4.66907,-1.49674 -10.9949,-2.83345 -18.8363,-3.83128 -7.83199,-1.00724 -17.8291,-1.50615 -29.8312,-1.50615 -11.8327,0 -21.6698,0.498913 -29.5018,1.50615 -7.83199,0.997826 -13.9978,2.33454 -18.6669,3.83128 -4.49963,1.66618 -7.83199,3.83128 -9.66762,6.33525 -1.99565,2.66401 -2.99348,5.6669 -2.99348,8.82982l0 514.521 -1.00724 0 -182.508 -514.022c-1.3273,-4.16075 -3.33236,-7.66255 -6.32584,-10.496 -3.00289,-2.83345 -6.83417,-4.99854 -12.0022,-6.66472 -4.99854,-1.50615 -11.5032,-2.67342 -19.1658,-3.17233 -7.84141,-0.498913 -17.3396,-0.668355 -28.3345,-0.668355 -11.1738,0 -20.5025,0.338884 -28.3345,1.16727 -7.84141,0.837797 -14.3367,2.16509 -19.3352,4.00072 -4.99854,1.83562 -8.99926,4.00072 -12.0022,6.5047 -2.83345,2.66401 -4.83852,5.82693 -5.83634,9.32873l-176.173 514.022 -0.997826 0 0 -514.521c0,-3.16292 -0.837797,-6.16581 -2.66401,-8.82982 -1.83562,-2.50398 -5.16799,-4.66907 -10.0065,-6.33525 -4.99854,-1.49674 -11.3338,-2.83345 -18.9963,-3.83128 -7.67196,-1.00724 -17.4996,-1.50615 -29.5018,-1.50615 -11.8327,0 -21.6698,0.498913 -29.5018,1.50615 -7.83199,0.997826 -14.1672,2.33454 -18.8363,3.83128 -4.66907,1.66618 -8.00144,3.83128 -9.82765,6.33525 -1.83562,2.66401 -2.67342,5.6669 -2.67342,8.82982l0 563.188c0,16.6712 4.3396,29.3323 13.1694,38.1716 8.82982,8.82982 20.5025,13.1694 35.3381,13.1694l83.9962 0c15.005,0 28.005,-1.16727 38.6705,-3.67125 10.8349,-2.50398 20.173,-6.5047 28.005,-12.1716 7.66255,-5.6669 14.3273,-13.16 19.4953,-22.4982 5.16799,-9.32873 9.83706,-20.832 13.6683,-34.5003l136.175 -376.51 1.99565 0 141.004 375.682c4.17016,13.6589 8.83923,25.1622 13.8378,34.6603 5.16799,9.33815 11.0043,17.0007 17.6691,22.837 6.66472,5.83634 14.6662,9.99709 23.6654,12.5011 9.1687,2.50398 19.8341,3.67125 31.8363,3.67125l86.6697 0c8.82982,0 16.3323,-1.16727 22.6676,-3.5018 6.33525,-2.16509 11.6633,-5.50687 15.664,-10.0065 4.17016,-4.33019 7.17305,-9.66762 9.33815,-15.9935 2.16509,-6.33525 3.16292,-13.6683 3.16292,-21.8392l0 -563.188z"
id="glyph279" />
<glyph
unicode="O"
horiz-adv-x="676"
d="M637.027 323.343c0,-52.3294 -6.5047,-99.1707 -19.5047,-140.505 -13,-41.3345 -32.3352,-76.5031 -58.1657,-105.167 -25.6705,-28.8334 -57.5068,-50.8326 -95.3395,-66.0071 -38.0021,-15.1651 -81.8406,-22.6676 -131.675,-22.6676 -49.1665,0 -91.9977,6.5047 -128.503,19.3352 -36.6654,12.84 -67.165,32.3352 -91.6682,58.8341 -24.3338,26.3388 -42.6712,59.8413 -54.8334,100.507 -12.1716,40.6661 -18.3374,88.8348 -18.3374,144.506 0,51.0021 6.5047,97.0056 19.5047,137.841 13,40.8356 32.3352,75.4959 58.1657,104.169 25.6705,28.664 57.5068,50.6632 95.3395,65.8377 38.0021,15.3345 82.0006,22.9971 132.174,22.9971 47.8298,0 90.002,-6.33525 126.667,-18.9963 36.5054,-12.6705 67.165,-32.1752 91.6682,-58.6741 24.6727,-26.3294 43.1701,-59.5024 55.6712,-99.6696 12.5011,-40.3366 18.8363,-87.6675 18.8363,-142.341zm-135.008 -6.49528c0,33.1636 -2.66401,63.3337 -7.83199,90.5009 -5.16799,27.1672 -13.9978,50.5032 -26.4989,69.8384 -12.5011,19.3352 -29.1723,34.3309 -50.0043,44.9963 -20.832,10.5054 -46.8413,15.8334 -78.0093,15.8334 -31.4974,0 -57.8268,-5.99637 -78.8283,-17.8291 -21.1709,-11.8327 -38.341,-27.8356 -51.341,-47.6697 -13,-19.8341 -22.1687,-43.0007 -27.4967,-69.4995 -5.33743,-26.6683 -8.00144,-54.6733 -8.00144,-84.3351 0,-34.5097 2.66401,-65.5082 7.83199,-93.0049 5.16799,-27.5061 13.9978,-51.0021 26.3388,-70.6762 12.3316,-19.4953 28.8334,-34.3309 49.6654,-44.6668 20.832,-10.1665 47.0014,-15.3345 78.4988,-15.3345 31.5068,0 57.8363,5.83634 78.8377,17.6691 21.1709,11.6727 38.341,27.6661 51.341,47.8392 13,20.1636 22.1687,43.669 27.4967,70.4974 5.33743,26.8378 8.00144,55.5017 8.00144,85.8413z"
id="glyph281" />
<glyph
unicode="S"
horiz-adv-x="472"
d="M444.014 189.672c0,-33.333 -6.16581,-62.3359 -18.4974,-87.498 -12.5011,-25.0021 -29.1723,-45.8341 -50.3337,-62.6748 -21.3403,-16.6618 -46.0035,-29.3323 -74.338,-37.8327 -28.3345,-8.50035 -58.6646,-12.6705 -90.9999,-12.6705 -21.8392,0 -42.0028,1.83562 -60.8391,5.50687 -18.6669,3.66183 -35.1687,8.00144 -49.5054,13.16 -14.3273,5.00796 -26.3294,10.336 -35.997,16.0029 -9.66762,5.6669 -16.5018,10.6654 -20.832,14.8356 -4.17016,4.33019 -7.17305,10.5054 -8.99926,18.4974 -1.83562,8.00144 -2.67342,19.3352 -2.67342,34.3403 0,10.1665 0.338884,18.4974 1.00724,25.3316 0.658942,6.83417 1.66618,12.3316 3.16292,16.6712 1.49674,4.16075 3.5018,7.16364 5.83634,8.99926 2.49457,1.83562 5.32801,2.66401 8.66038,2.66401 4.49963,0 11.0043,-2.66401 19.3352,-8.17088 8.34032,-5.32801 19.0058,-11.3338 32.0057,-17.8291 13,-6.5047 28.664,-12.5011 46.8319,-17.8385 17.9985,-5.49746 38.9999,-8.16146 62.8348,-8.16146 15.6734,0 29.6712,1.83562 42.0028,5.49746 12.5011,3.83128 22.9971,8.99926 31.6669,15.8334 8.66979,6.83417 15.1651,15.1651 19.8341,25.1716 4.49963,9.99709 6.83417,21.1614 6.83417,33.5025 0,14.3273 -3.83128,26.6683 -11.6633,36.8348 -7.83199,10.3266 -18.0079,19.3352 -30.669,27.3273 -12.5011,8.00144 -26.8378,15.504 -42.8406,22.5076 -15.8334,6.9942 -32.3352,14.3273 -49.3359,22.1687 -17.0007,7.83199 -33.4931,16.6618 -49.3265,26.6589 -16.0029,9.83706 -30.3396,21.6698 -42.8406,35.5075 -12.6611,13.8284 -22.837,30.1701 -30.669,49.1665 -7.83199,18.8363 -11.6633,41.5039 -11.6633,67.8333 0,30.1701 5.6669,56.8384 16.8313,79.8355 11.1644,22.837 26.3388,41.8428 45.3352,57.0079 19.1658,15.1651 41.5039,26.4989 67.3344,34.0014 25.8399,7.50252 53.3366,11.1644 82.3395,11.1644 14.8356,0 29.8312,-1.16727 44.8363,-3.5018 14.9956,-2.16509 29.0028,-5.32801 42.0028,-9.1687 13,-3.9913 24.4938,-8.33091 34.6697,-13.16 9.99709,-4.99854 16.6618,-8.99926 19.9942,-12.341 3.17233,-3.16292 5.33743,-5.99637 6.5047,-8.16146 1.16727,-2.33454 2.16509,-5.33743 2.99348,-9.1687 0.837797,-3.66183 1.33671,-8.33091 1.67559,-14.1672 0.329471,-5.6669 0.498913,-12.6705 0.498913,-21.1709 0,-9.32873 -0.169442,-17.3302 -0.668355,-23.8349 -0.498913,-6.49528 -1.33671,-11.8327 -2.50398,-16.1629 -1.16727,-4.17016 -2.83345,-7.33308 -4.8291,-9.1687 -2.16509,-1.99565 -4.99854,-2.99348 -8.66979,-2.99348 -3.5018,0 -9.1687,2.32512 -17.0007,6.82475 -7.83199,4.49963 -17.4996,9.50759 -28.8334,15.005 -11.5032,5.33743 -24.6727,10.1665 -39.6683,14.4967 -15.005,4.49963 -31.3374,6.67414 -49.3359,6.67414 -13.9978,0 -26.1694,-1.66618 -36.6654,-5.16799 -10.336,-3.33236 -19.0058,-8.17088 -26,-14.1672 -7.00361,-6.00578 -12.341,-13.1694 -15.6734,-21.6698 -3.5018,-8.50035 -5.16799,-17.4996 -5.16799,-26.8378 0,-13.9978 3.84069,-26.16 11.5032,-36.3359 7.67196,-10.3266 17.9985,-19.4953 30.8385,-27.4967 12.8305,-7.83199 27.4967,-15.3345 43.829,-22.3381 16.1723,-6.9942 32.8341,-14.4967 49.8348,-22.1593 17.0007,-7.84141 33.6719,-16.6712 49.8348,-26.6683 16.3418,-10.0065 30.8385,-21.8392 43.669,-35.6676 12.6705,-13.8378 23.0065,-30.0007 30.8385,-48.837 7.83199,-18.6669 11.6633,-40.6661 11.6633,-66.0071z"
id="glyph283" />
<glyph
unicode="i"
horiz-adv-x="245"
d="M185.003 16.5018c0,-3.17233 -0.997826,-6.00578 -2.99348,-8.50035 -1.83562,-2.50398 -5.16799,-4.49963 -10.0065,-6.16581 -4.65966,-1.50615 -10.9949,-2.83345 -18.6669,-3.67125 -7.83199,-0.828384 -17.8291,-1.16727 -29.8312,-1.16727 -12.0022,0 -21.9992,0.338884 -29.8312,1.16727 -7.67196,0.837797 -14.0072,2.16509 -18.6669,3.67125 -4.83852,1.66618 -8.17088,3.66183 -10.0065,6.16581 -1.99565,2.49457 -2.99348,5.32801 -2.99348,8.50035l0 435.015c0,3.17233 0.997826,6.00578 2.99348,8.50035 1.83562,2.50398 5.16799,4.66907 10.0065,6.33525 4.65966,1.83562 10.9949,3.16292 18.6669,4.17016 7.83199,0.997826 17.8291,1.49674 29.8312,1.49674 12.0022,0 21.9992,-0.498913 29.8312,-1.49674 7.67196,-1.00724 14.0072,-2.33454 18.6669,-4.17016 4.83852,-1.66618 8.17088,-3.83128 10.0065,-6.33525 1.99565,-2.49457 2.99348,-5.32801 2.99348,-8.50035l0 -435.015zm10.0065 584.02c0,-24.8327 -4.99854,-41.8334 -15.1651,-51.3316 -10.1665,-9.50759 -28.8428,-14.1672 -56.3395,-14.1672 -27.6661,0 -46.5025,4.49963 -56.0006,13.6683 -9.66762,9.15929 -14.5061,25.6611 -14.5061,49.3359 0,24.8327 5.00796,41.9934 15.005,51.661 9.83706,9.50759 28.664,14.3367 56.4995,14.3367 27.3367,0 46.0035,-4.66907 55.8406,-13.9978 9.82765,-9.1687 14.6662,-25.6705 14.6662,-49.5054z"
id="glyph285" />
<glyph
unicode="n"
horiz-adv-x="536"
d="M478.015 16.5018c0,-3.17233 -0.997826,-6.00578 -2.99348,-8.50035 -1.83562,-2.50398 -5.16799,-4.49963 -9.66762,-6.16581 -4.66907,-1.50615 -11.0043,-2.83345 -19.0058,-3.67125 -8.00144,-0.828384 -17.8291,-1.16727 -29.5018,-1.16727 -12.1622,0 -22.1687,0.338884 -30.1607,1.16727 -8.00144,0.837797 -14.3367,2.16509 -19.0058,3.67125 -4.49963,1.66618 -7.83199,3.66183 -9.66762,6.16581 -1.99565,2.49457 -3.00289,5.32801 -3.00289,8.50035l0 248.506c0,21.1709 -1.49674,37.8421 -4.65966,49.8348 -3.00289,12.1716 -7.50252,22.5076 -13.3389,31.0079 -5.83634,8.66038 -13.4989,15.3345 -22.6676,20.1636 -9.32873,4.66907 -19.9942,7.00361 -32.3352,7.00361 -15.664,0 -31.328,-5.6669 -47.3308,-17.1701 -15.8334,-11.3338 -32.5047,-28.005 -49.6748,-49.6654l0 -289.68c0,-3.17233 -0.997826,-6.00578 -2.99348,-8.50035 -1.83562,-2.50398 -5.16799,-4.49963 -10.0065,-6.16581 -4.65966,-1.50615 -10.9949,-2.83345 -18.6669,-3.67125 -7.83199,-0.828384 -17.8291,-1.16727 -29.8312,-1.16727 -12.0022,0 -21.9992,0.338884 -29.8312,1.16727 -7.67196,0.837797 -14.0072,2.16509 -18.6669,3.67125 -4.83852,1.66618 -8.17088,3.66183 -10.0065,6.16581 -1.99565,2.49457 -2.99348,5.32801 -2.99348,8.50035l0 436.012c0,3.17233 0.828384,6.00578 2.49457,8.50035 1.50615,2.50398 4.49963,4.49963 8.66979,6.16581 4.33019,1.50615 9.66762,2.83345 16.3323,3.67125 6.66472,0.837797 15.1651,1.16727 25.1716,1.16727 10.496,0 18.9963,-0.329471 25.8305,-1.16727 6.83417,-0.837797 12.1716,-2.16509 16.0029,-3.67125 3.66183,-1.66618 6.33525,-3.66183 8.00144,-6.16581 1.66618,-2.49457 2.49457,-5.32801 2.49457,-8.50035l0 -50.3337c24.0043,26 48.5075,45.3352 73.5097,58.3352 24.8327,13 50.8326,19.5047 77.8304,19.5047 29.6712,0 54.6733,-4.83852 75.0064,-14.6662 20.3331,-9.66762 36.6654,-23.0065 49.3359,-39.8377 12.5011,-16.6712 21.5003,-36.3359 26.9978,-58.8341 5.49746,-22.4982 8.33091,-49.5054 8.33091,-81.0028l0 -269.178z"
id="glyph287" />
</font>
<style
type="text/css"
id="style290">
<![CDATA[
@font-face { font-family:"Calibri";font-variant:normal;font-weight:bold;src:url("#FontID0") format(svg)}
.fil7 {fill:#FEFEFE}
.fil5 {fill:#C5C6C6}
.fil3 {fill:#5B5B5B}
.fil1 {fill:#F05A28}
.fil0 {fill:#FF3C00}
.fil8 {fill:#FEFEFE;fill-rule:nonzero}
.fil6 {fill:#D9DADA;fill-rule:nonzero}
.fil4 {fill:#5B5B5B;fill-rule:nonzero}
.fil2 {fill:#231F20;fill-rule:nonzero}
.fnt0 {font-weight:bold;font-size:125.47px;font-family:'Calibri'}
]]>
</style>
</defs>
<g
id="Слой_x0020_1">
<metadata
id="CorelCorpID_0Corel-Layer" />
<g
id="g302"
transform="matrix(2.370917,0,0,2.370917,-47.920959,-93.188184)">
<path
class="fil1"
d="M 71.78,95.93 V 49.5 c 25.64,0 46.43,20.79 46.43,46.43 z"
id="path299"
style="fill:#ff3c00;fill-opacity:1" />
<path
id="1"
class="fil2"
d="M 79.31,49.5 V 95.93 H 64.25 V 49.5 l 7.53,-7.53 z m -15.06,0 c 0,-4.16 3.37,-7.53 7.53,-7.53 4.16,0 7.53,3.37 7.53,7.53 z m 53.96,53.95 V 88.4 l -7.53,7.53 -0.05,-2.01 -0.15,-1.98 -0.25,-1.95 -0.34,-1.91 -0.44,-1.88 -0.52,-1.85 -0.61,-1.8 -0.7,-1.76 -0.77,-1.73 -0.86,-1.67 -0.94,-1.63 -1.01,-1.58 -1.09,-1.52 -1.15,-1.47 -1.23,-1.42 -1.29,-1.35 -1.35,-1.29 -1.41,-1.22 -1.47,-1.16 -1.53,-1.08 -1.58,-1.02 -1.63,-0.93 -1.67,-0.86 -1.72,-0.78 -1.77,-0.7 -1.8,-0.61 -1.84,-0.52 -1.88,-0.43 -1.92,-0.35 -1.94,-0.24 -1.98,-0.15 -2.01,-0.05 V 41.97 l 2.77,0.07 2.73,0.21 2.7,0.34 2.66,0.48 2.61,0.6 2.57,0.73 2.51,0.84 2.45,0.97 2.39,1.08 2.33,1.2 2.26,1.3 2.19,1.4 2.11,1.5 2.04,1.6 1.96,1.7 1.87,1.78 1.79,1.88 1.69,1.95 1.6,2.04 1.51,2.11 1.4,2.19 1.3,2.26 1.19,2.33 1.08,2.39 0.97,2.46 0.85,2.51 0.73,2.56 0.6,2.61 0.47,2.66 0.35,2.7 0.2,2.74 0.07,2.77 z m 7.52,-7.52 c 0,4.15 -3.37,7.52 -7.52,7.52 -4.16,0 -7.53,-3.37 -7.53,-7.52 z M 71.78,88.4 h 46.43 v 15.05 H 71.78 l -7.53,-7.52 z m 0,15.05 c -4.16,0 -7.53,-3.37 -7.53,-7.52 0,-4.16 3.37,-7.53 7.53,-7.53 z"
style="fill:#f9f9f9" />
</g>
<g
id="g306"
transform="matrix(2.370917,0,0,2.370917,-47.920959,-93.188184)">
<path
class="fil2"
d="M 112.56,103.46 H 71.78 V 88.39 h 40.78 l 7.53,7.53 z m 0,-15.07 c 4.16,0 7.53,3.38 7.53,7.53 0,4.16 -3.37,7.54 -7.53,7.54 z m -40.78,55.85 v -15.06 0 l 1.72,-0.04 1.69,-0.13 1.66,-0.21 1.64,-0.29 1.61,-0.37 1.57,-0.45 1.54,-0.52 1.51,-0.6 1.47,-0.66 1.43,-0.74 1.4,-0.8 1.35,-0.86 1.3,-0.93 1.26,-0.99 1.21,-1.05 1.15,-1.1 1.1,-1.15 1.05,-1.21 0.99,-1.26 0.93,-1.3 0.86,-1.35 0.8,-1.4 0.74,-1.43 0.66,-1.47 0.59,-1.51 0.53,-1.54 0.44,-1.58 0.38,-1.6 0.29,-1.64 0.21,-1.66 0.13,-1.7 0.04,-1.72 h 15.06 l -0.06,2.48 -0.19,2.45 -0.31,2.42 -0.42,2.38 -0.54,2.34 -0.65,2.3 -0.76,2.25 -0.87,2.2 -0.97,2.14 -1.07,2.08 -1.16,2.03 -1.26,1.96 -1.34,1.89 -1.44,1.82 -1.51,1.75 -1.6,1.68 -1.68,1.6 -1.75,1.52 -1.82,1.43 -1.9,1.35 -1.96,1.25 -2.02,1.17 -2.08,1.07 -2.15,0.96 -2.19,0.87 -2.25,0.76 -2.29,0.65 -2.35,0.54 -2.37,0.43 -2.42,0.31 -2.45,0.18 z M 23.47,95.92 h 15.06 v 0 l 0.04,1.72 0.13,1.7 0.21,1.66 0.29,1.64 0.38,1.6 0.44,1.58 0.53,1.54 0.59,1.51 0.66,1.47 0.74,1.44 0.8,1.39 0.86,1.35 0.93,1.3 0.99,1.26 1.05,1.21 1.1,1.15 1.15,1.1 1.21,1.05 1.26,0.99 1.3,0.93 1.35,0.86 1.39,0.8 1.44,0.74 1.47,0.66 1.51,0.6 1.54,0.52 1.57,0.45 1.61,0.37 1.64,0.29 1.66,0.21 1.69,0.13 1.72,0.04 v 15.06 l -2.48,-0.06 -2.45,-0.18 -2.42,-0.31 -2.38,-0.43 -2.34,-0.54 -2.29,-0.65 -2.25,-0.76 -2.2,-0.87 -2.14,-0.96 -2.08,-1.07 -2.03,-1.17 -1.95,-1.25 -1.9,-1.35 -1.82,-1.43 -1.75,-1.52 -1.68,-1.6 -1.6,-1.68 -1.51,-1.75 -1.44,-1.82 -1.34,-1.89 -1.26,-1.96 -1.16,-2.03 -1.07,-2.08 -0.97,-2.14 -0.87,-2.2 -0.76,-2.25 -0.65,-2.3 -0.54,-2.34 -0.42,-2.38 -0.31,-2.42 -0.19,-2.45 z M 79.31,55.14 H 64.25 l 7.53,7.53 -1.72,0.04 -1.69,0.13 -1.66,0.21 -1.64,0.29 -1.61,0.37 -1.57,0.45 -1.54,0.52 -1.51,0.6 -1.47,0.66 -1.44,0.74 -1.39,0.8 -1.35,0.86 -1.3,0.93 -1.26,0.99 -1.21,1.05 -1.15,1.1 -1.1,1.15 -1.05,1.21 -0.99,1.26 -0.93,1.31 -0.86,1.35 -0.8,1.39 -0.73,1.43 -0.67,1.47 -0.59,1.51 -0.53,1.54 -0.44,1.58 -0.38,1.6 -0.29,1.64 -0.21,1.66 -0.13,1.7 -0.04,1.71 H 23.47 l 0.06,-2.47 0.19,-2.46 0.31,-2.41 0.42,-2.38 0.54,-2.34 0.65,-2.3 0.76,-2.25 0.87,-2.2 0.97,-2.14 1.07,-2.08 1.16,-2.03 1.26,-1.96 1.34,-1.89 1.43,-1.82 1.52,-1.76 1.6,-1.67 1.68,-1.6 1.75,-1.52 1.82,-1.43 1.9,-1.35 1.95,-1.25 2.03,-1.17 2.08,-1.07 2.14,-0.96 2.2,-0.87 2.25,-0.76 2.29,-0.65 2.34,-0.54 2.38,-0.43 2.42,-0.31 2.45,-0.18 2.48,-0.06 z m -7.53,-7.53 c 4.16,0 7.53,3.37 7.53,7.53 0,4.16 -3.37,7.53 -7.53,7.53 z M 64.25,95.92 V 55.14 h 15.06 v 40.78 l -7.53,7.54 z m 15.06,0 c 0,4.16 -3.37,7.54 -7.53,7.54 -4.16,0 -7.53,-3.38 -7.53,-7.54 z"
id="path304"
style="fill:#f9f9f9" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 17 KiB

1
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/default.plymouth

@ -1 +0,0 @@
/usr/share/plymouth/themes/minios-logo/minios-logo.plymouth

4
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/details/details.plymouth

@ -1,4 +0,0 @@
[Plymouth Theme]
Name=Details
Description=Verbose fallback theme
ModuleName=details

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/fsck-fade.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/fsck-fade_16bit.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/logo_16bit.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

8
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/minios-logo.plymouth

@ -1,8 +0,0 @@
[Plymouth Theme]
Name=MiniOS Logo
Description=A theme that features a background with a logo.
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/minios-logo
ScriptFile=/usr/share/plymouth/themes/minios-logo/minios-logo.script

512
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/minios-logo.script

@ -1,512 +0,0 @@
/**************************************************************************
*
* Copyright (C) 2011 The Xubuntu Community
* Copyright (C) 2009 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Written by: Mad Nick <dr.madnick@gmail.com>
*
**************************************************************************/
/*
* Related to the screen */
screen_width = Window.GetWidth();
screen_height = Window.GetHeight();
screen_x = Window.GetX();
screen_y = Window.GetY();
/**/
/*
* Images, check bits per pixel
* and load images accordingly */
background_image = Image("wallpaper.png");
passw_dialog_input_image = Image("passw-dialog.png");
bullet_image = Image("test.png");
bpp = Window.GetBitsPerPixel();
if (bpp == 4) {
logotype_image = Image("logo_16bit.png");
progress_meter_image = Image("progress-meter_16bit.png");
progress_fade_image = Image("progress-fade_16bit.png");
fsck_progress_meter_image = Image("progress-meter_16bit.png");
fsck_progress_fade_image = Image("fsck-fade_16bit.png");
}
else {
logotype_image = Image("logo.png");
progress_meter_image = Image("progress-meter.png");
progress_fade_image = Image("progress-fade.png");
fsck_progress_meter_image = Image("progress-meter.png");
fsck_progress_fade_image = Image("fsck-fade.png");
}
/**/
/*
* Sprites */
ratio = screen_height / screen_width;
background_ratio = background_image.GetHeight() / background_image.GetWidth();
factor = 0;
if (ratio > background_ratio) {
factor = screen_height / background_image.GetHeight();
}
else {
factor = screen_width / background_image.GetWidth();
}
scaled = background_image.Scale(background_image.GetWidth() * factor, background_image.GetHeight() * factor);
background_sprite = Sprite(scaled);
background_sprite.SetX(screen_x + screen_width / 2 - scaled.GetWidth() / 2);
background_sprite.SetY(screen_y + screen_height / 2 - scaled.GetHeight() / 2);
logotype_sprite = Sprite(logotype_image);
fsck_progress_meter_sprite = Sprite(fsck_progress_meter_image);
fsck_progress_fade_sprite = Sprite(fsck_progress_fade_image.Scale(1, fsck_progress_fade_image.GetHeight()));
passw_dialog_input_sprite = Sprite(passw_dialog_input_image);
passw_lbl_sprite = Sprite();
msg_label_sprite = Sprite();
/**/
/*
* Misc */
counter = 0;
fade_pos_x = (screen_width / 2) - (progress_meter_image.GetWidth() / 2);
fade_dir = 0; /* 0 = right, 1 = left */
fsck_running = 0;
fsck_dev_array;
fsck_dev_counter = 0;
fsck_fade_in_counter = 0;
fsck_done_fading = 0;
stars_array;
stars_n = 0;
//full_msg = "";
msgs_line = [NULL,NULL,NULL,NULL,NULL];
/**/
/*
* Debug related */
debug = 0;
debug_sprite = Sprite();
fun debugOutput(str) {
/*
* This will print to the top left corner */
debug_sprite.SetImage(Image.Text(str));
}
/**/
/*
* Setup the graphics properties */
logotype_sprite.SetPosition(screen_x + (screen_width / 2) - (logotype_image.GetWidth() / 2), screen_y + (screen_height / 2) - (logotype_image.GetHeight() / 2));
fsck_progress_meter_sprite.SetPosition(screen_x + (screen_width / 2) - (progress_meter_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 25);
fsck_progress_fade_sprite.SetPosition(screen_x + (screen_width / 2) - (progress_meter_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 25);
fsck_progress_meter_sprite.SetOpacity(0);
fsck_progress_fade_sprite.SetOpacity(0);
passw_dialog_input_sprite.SetPosition(screen_x + (screen_width / 2) - (passw_dialog_input_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 70);
passw_dialog_input_sprite.SetOpacity(0);
passw_lbl_sprite.SetOpacity(0);
spin = 0;
/*
* this function only goes up to 100
* because thats all thats needed for
* the progress meter bar */
fun atoi(str) {
int = -1;
for (i = 0; i <= 100; i++) {
if (i + "" == str) {
int = i;
break;
}
}
return int;
}
/*
* This handler will/can be invoked
* 50 times per second.
*
* According to the previous author of the
* splash script, without this callback
* the screen is not updated correctly */
spinner_sprite;
spinner;
fun refreshHandler() {
if (spin < 3.14 * 2) {
spin = spin + 0.1;
}
else {
spin = 0;
}
/* if fsck is running or the password is prompted, hide the spinner */
if (fsck_running == 1 || passw_dialog_input_sprite.GetOpacity() == 1) {
spinner_sprite.SetOpacity(0);
} else {
spinner = Image("spinner.png");
spinner = spinner.Rotate(spin);
spinner_sprite = Sprite(spinner);
spinner_sprite.SetPosition(screen_x + (screen_width / 2) - (spinner.GetWidth() / 2), screen_y + (screen_height / 2) - (spinner.GetHeight() / 2) + 80);
}
if (fade_dir == 0) {
counter++;
if (counter >= 200) {
fade_dir = 1;
}
}
else {
counter--;
if (counter <= 0) {
fade_dir = 0;
}
}
if ((fsck_running == 1) && (fsck_done_fading == 0)) {
fsck_progress_meter_sprite.SetOpacity(fsck_fade_in_counter);
fsck_progress_fade_sprite.SetOpacity(fsck_fade_in_counter);
if (fsck_fade_in_counter < 1) {
fsck_fade_in_counter+= 0.025;
}
else {
fsck_done_fading = 1;
}
}
}
Plymouth.SetRefreshFunction (refreshHandler);
/**/
/*
* This function will display the password related information
* when being prompt with entering a password */
fun showPasswordHandler(prompt, stars) {
if (passw_dialog_input_sprite.GetOpacity() == 0 && passw_lbl_sprite.GetOpacity() == 0) {
passw_dialog_input_sprite.SetOpacity(1);
passw_lbl_sprite.SetOpacity(1);
}
tmp_prompt_image = Image.Text(prompt, 1, 1, 1);
passw_lbl_sprite.SetImage(tmp_prompt_image);
passw_lbl_sprite.SetPosition(screen_x + (screen_width / 2) - (tmp_prompt_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 50);
for(i = 0; i < stars_n; i++) {
stars_array[i] = NULL;
}
stars_n = 0;
for(i = 0; (i < stars) && (i < 15); i++) {
stars_array[i] = Sprite(bullet_image);
stars_array[i].SetPosition(screen_x + (((screen_width / 2) - (passw_dialog_input_image.GetWidth() / 2)) + (18 * i)) + 2, screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 75);
stars_n++;
}
}
Plymouth.SetDisplayPasswordFunction(showPasswordHandler);
/**/
fun displayNormalHandler() {
/*
* Hide the password dialog and the bullets */
if (passw_dialog_input_sprite.GetOpacity() == 1) {
passw_dialog_input_sprite.SetOpacity(0);
}
if (passw_lbl_sprite.GetOpacity() == 1) {
passw_lbl_sprite.SetOpacity(0);
}
for(i = 0; i < stars_n; i++) {
stars_array[i] = NULL;
}
}
Plymouth.SetDisplayNormalFunction(displayNormalHandler);
fun strlen(string) {
i = 0;
while (String(string).CharAt(i)) {
i++;
}
return i;
}
/*
* This function will display the most current message */
fun messageHandler(msg) {
if ((msg == "") || !msg) {
return 0;
}
if (msg.SubString(0, 5) == "keys:") {
msg = msg.SubString(5, strlen(msg));
}
# Get the message without the "fsckd-cancel-msg" prefix as we don't support i18n
if (msg.SubString(0, 17) == "fsckd-cancel-msg:")
msg = msg.SubString(17, strlen(msg));
//full_msg += msg + " ";
for(i = 4; i > 0; i--) {
msgs_line[i] = msgs_line[i - 1];
}
msgs_line[0] = Sprite(Image.Text(msg, 1, 1, 1));
dist = 1;
for(i = 0; i < 5; i++) {
if (msgs_line[i] != NULL) {
msgs_line[i].SetPosition(screen_x + (screen_width / 2) - (msgs_line[i].GetImage().GetWidth() / 2), screen_y + (screen_height - msgs_line[i].GetImage().GetHeight()) - 20*dist);
dist++;
}
}
}
Plymouth.SetMessageFunction(messageHandler);
/**/
/*
* Handles the updates passed to the plymouth daemon
* for example the FSCK data */
fun statusHandler(status) {
tmp_char;
status_array[0] = "";
elem_count = 0;
for (i = 0; String(status).CharAt(i) != ""; i++) {
tmp_char = String(status).CharAt(i);
if (tmp_char != ":") {
status_array[elem_count] += tmp_char;
}
else {
elem_count++;
status_array[elem_count] = "";
}
}
if (status_array[0] == "fsck") {
already_added = 0;
if (fsck_running == 0) {
/*
* use the dedicated message handler for this
* since there is no messages about fsck checks
* currently... */
messageHandler("Routine disk drive check.");
fsck_running = 1;
}
for(i = 0; i < fsck_dev_counter; i++) {
/*
* check if the device already exist and update
* the progress only in that case */
if (fsck_dev_array[i][0] == status_array[1]) {
fsck_dev_array[i][1] = status_array[2]; /* progress */
already_added = 1;
}
}
/*
* if the device is not added, then add it */
if (already_added == 0) {
fsck_dev_array[fsck_dev_counter][0] = status_array[1]; /* device */
fsck_dev_array[fsck_dev_counter][1] = status_array[2]; /* progress */
fsck_dev_counter++;
}
/*
* update the progress */
total = 0;
for(i = 0; i < fsck_dev_counter; i++) {
total += atoi(fsck_dev_array[i][1]);
}
if (fsck_dev_counter > 0) {
/*
* display the total percentage */
fsck_progress_fade_sprite.SetImage(fsck_progress_fade_image.Scale((fsck_progress_meter_image.GetWidth() / 100) * (total / fsck_dev_counter), fsck_progress_fade_image.GetHeight()));
}
/**/
/*
* if the total progress is at maximum,
* make the progress meter go away,
* we might want to fade this out... */
if (total == (100 * fsck_dev_counter)) {
fsck_progress_meter_sprite.SetOpacity(0);
fsck_progress_fade_sprite.SetOpacity(0);
}
}
# systemd-fsckd pass fsckd:<number_devices>:<progress>:<l10n_string>
if (status_array[0] == "fsckd") {
fsck_running = 1;
# remove ",x" as we only care about integers
progress_str = status_array[2];
progress = atoi(progress_str.SubString(0, strlen(progress_str) - 2));
fsck_progress_fade_sprite.SetImage(fsck_progress_fade_image.Scale((fsck_progress_meter_image.GetWidth() / 100) * progress, fsck_progress_fade_image.GetHeight()));
/*
* if the total progress is at maximum,
* make the progress meter go away,
* we might want to fade this out... */
if (progress == 100) {
fsck_progress_meter_sprite.SetOpacity(0);
fsck_progress_fade_sprite.SetOpacity(0);
}
}
}
Plymouth.SetUpdateStatusFunction(statusHandler);
/**/

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/passw-dialog.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-fade.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-fade_16bit.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-meter.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/progress-meter_16bit.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/spinner.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 981 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/test.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

BIN
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-logo/wallpaper.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

11
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/minios-text/minios-text.plymouth

@ -1,11 +0,0 @@
[Plymouth Theme]
Name=MiniOS Text
Description=Text mode theme based on minios-logo theme
ModuleName=ubuntu-text
[ubuntu-text]
title=MiniOS 2021
black=0x000000
white=0xffffff
brown=0x000000
blue=0xffffff

1
linux-live/basesystem/01-casper/rootcopy/usr/share/plymouth/themes/text.plymouth

@ -1 +0,0 @@
/usr/share/plymouth/themes/minios-text/minios-text.plymouth

3
linux-live/basesystem/01-core/install

@ -14,3 +14,6 @@ if [ -f $SCRIPT_DIR/package.list ]; then
$APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \
$(grep -vE "^\s*#" $SCRIPT_DIR/package.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
chown live.users /home/live
chown -R live.users /home/live

7
linux-live/basesystem/01-core/package.list

@ -1,3 +1,9 @@
#sudo
linux-image-amd64
#libterm-readline-gnu-perl
#systemd-sysv
#dbus
#debconf-utils
mc
squashfs-tools
genisoimage
@ -38,4 +44,3 @@ dvd+rw-tools
usb-modeswitch
pm-utils
wget
linux-image-amd64

103
linux-live/basesystem/01-core/postinstall

@ -1,103 +1,10 @@
#!/bin/bash
apt-get remove --yes vim* grub* debconf-i18n installation-report
apt-get remove --yes vim* grub* debconf-i18n installation-report >>$OUTPUT 2>&1
CWD="$(pwd)"
cd /tmp
apt -y update
apt-get download acpi-support
dpkg -x acpi-support*.deb /tmp/acpisupport
apt -y update >>$OUTPUT 2>&1
apt-get download acpi-support >>$OUTPUT 2>&1
dpkg -x acpi-support*.deb /tmp/acpisupport >>$OUTPUT 2>&1
cd /tmp/acpisupport
cp -aR * /
cd "$CWD"
rm -f /etc/fstab
rm -f /etc/mtab
rm -f /etc/apt/sources.list~
rm -Rf /etc/systemd/system/timers.target.wants
rm -f /etc/systemd/system/multi-user.target.wants/ssh.service
rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/lib/apt/extended_states
rm -f /var/lib/systemd/random-seed
rm -f /var/lib/apt/lists/deb.*
rm -Rf /root/.local/share/mc
rm -Rf /root/.cache
rm -f /root/.wget-hsts
rm -f /var/lib/dpkg/*-old
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/info/*
rm -f /usr/share/images/fluxbox/debian-squared.jpg
rm -Rf /usr/share/fluxbox/nls/??*
rm -Rf /usr/share/gnome/help
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*
rm -Rf /usr/share/icons/elementaryXubuntu-dark
rm -Rf /usr/share/icons/gnome/256x256
rm /usr/share/applications/compton.desktop
rm /usr/share/applications/debian-uxterm.desktop
rm /usr/share/applications/debian-xterm.desktop
rm /usr/share/applications/htop.desktop
rm /usr/share/applications/mc.desktop
rm /usr/share/applications/mcedit.desktop
rm /usr/share/applications/pcmanfm-desktop-pref.desktop
rm /usr/share/applications/python2.7.desktop
rm /usr/share/applications/python3.7.desktop
rm /usr/share/applications/vim.desktop
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files()
{
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip
}
uncompress_files /etc/alternatives
uncompress_files /usr/share/man
# remove broken links
# $1 = search directory
remove_broken_links()
{
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf
}
remove_broken_links /etc/alternatives
remove_broken_links /usr/share/man
cp -aR * / >>$OUTPUT 2>&1

0
linux-live/basesystem/01-casper/rootcopy/root/.bashrc → linux-live/basesystem/01-core/rootcopy/home/live/.bashrc

214
linux-live/minioslib

@ -565,22 +565,6 @@ function copy_build_scripts() {
fi
}
function preserve_environment_variables() {
if [ -d /opt/minios-live ]; then
chroot $BUILD_DIR /usr/bin/env \
OUTPUT=$OUTPUT \
LOGPATH=$LOGPATH \
BUILD_TEST_ISO=$BUILD_TEST_ISO \
CREATE_BACKUP=$CREATE_BACKUP \
DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \
APT_CMD=$APT_CMD \
APT_OPTIONS=$APT_OPTIONS \
APT_OPTIONS2=$APT_OPTIONS2 \
LIVE_TYPE=$LIVE_TYPE
fi
}
function build_chroot() {
current_process
@ -634,63 +618,6 @@ function build_chroot() {
fi
}
function build_package() {
current_process
if [ $CONTAINER_TYPE = "1" ]; then
if [ ! -f /.minios-live ]; then
setup_host
fi
fi
chroot_mount_fs
#copy_build_scripts
if [ -d /opt/minios-live ] || [ -f /.minios-live-container ]; then
chroot $BUILD_DIR /usr/bin/env \
OUTPUT=$OUTPUT \
LOGPATH=$LOGPATH \
BUILD_TEST_ISO=$BUILD_TEST_ISO \
CREATE_BACKUP=$CREATE_BACKUP \
DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \
APT_CMD=$APT_CMD \
APT_OPTIONS=$APT_OPTIONS \
APT_OPTIONS2=$APT_OPTIONS2 \
LIVE_TYPE=$LIVE_TYPE \
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
chroot $BUILD_DIR /usr/bin/env \
OUTPUT=$OUTPUT \
LOGPATH=$LOGPATH \
BUILD_TEST_ISO=$BUILD_TEST_ISO \
CREATE_BACKUP=$CREATE_BACKUP \
DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \
APT_CMD=$APT_CMD \
APT_OPTIONS=$APT_OPTIONS \
APT_OPTIONS2=$APT_OPTIONS2 \
LIVE_TYPE=$LIVE_TYPE \
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/add_pkg.list | tr "\n" " ") >>$OUTPUT 2>&1
else
chroot $BUILD_DIR sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD update >>$OUTPUT 2>&1 &&
chroot $BUILD_DIR sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
$APT_CMD install $APT_OPTIONS \
$(grep -vE "^\s*#" $SCRIPT_DIR/add_pkg.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
chroot_umount_fs
rm -f $BUILD_DIR/var/lib/apt/extended_states >>$OUTPUT 2>&1
rm -f $BUILD_DIR/var/lib/apt/lists/*Packages* >>$OUTPUT 2>&1
rm -f $BUILD_DIR/var/lib/apt/lists/*Translation* >>$OUTPUT 2>&1
rm -f $BUILD_DIR/var/lib/apt/lists/*InRelease >>$OUTPUT 2>&1
rm -f $BUILD_DIR/var/lib/apt/lists/deb.* >>$OUTPUT 2>&1
rm -f $BUILD_DIR/var/lib/dpkg/*-old >>$OUTPUT 2>&1
}
function build_live() {
current_process
@ -860,6 +787,109 @@ function chroot_setup_host() {
current_process
}
function build_cleanup() {
echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..."
set +e
rm -f $MODULE_UPPER_DIR/preinstall >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/install >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/install2 >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/cleanup >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/package.list >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/postinstall >>$OUTPUT 2>&1
rm -rf $MODULE_UPPER_DIR/rootcopy >>$OUTPUT 2>&1
rm -rf $MODULE_UPPER_DIR/patches >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/etc/fstab >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/etc/mtab >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/etc/apt/sources.list~ >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/etc/systemd/system/timers.target.wants >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/etc/systemd/system/multi-user.target.wants/ssh.service >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/etc/systemd/system/multi-user.target.wants/dnsmasq.service >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/etc/ssh/ssh_host* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/backups/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/cache/ldconfig/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/cache/debconf/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/cache/fontconfig/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/lib/apt/extended_states >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/lib/systemd/random-seed >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/lib/apt/lists/deb.* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/root/.local/share/mc >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/root/.cache >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/root/.wget-hsts >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/lib/dpkg/*-old >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/log/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/log/*/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/log/*/*/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/cache/apt/archives/*.deb >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/cache/apt/*.bin >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/cache/debconf/*-old >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/var/lib/dhcp/dhclient.leases >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/root/.bash_history >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/root/.wget-hsts >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/doc/* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/info/* >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/usr/share/images/fluxbox/debian-squared.jpg >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/fluxbox/nls/??* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/gnome/help >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/locale/?? >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??_* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??@* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??? >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/i18n/locales/*_* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/man/?? >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/man/*_* >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/icons/elementaryXubuntu-dark >>$OUTPUT 2>&1
rm -Rf $MODULE_UPPER_DIR/usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/compton.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/debian-uxterm.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/debian-xterm.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/htop.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/mc.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/mcedit.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/pcmanfm-desktop-pref.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/python2.7.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/python3.7.desktop >>$OUTPUT 2>&1
rm $MODULE_UPPER_DIR/usr/share/applications/vim.desktop >>$OUTPUT 2>&1
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files() {
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip >>$OUTPUT 2>&1
}
uncompress_files $MODULE_UPPER_DIR/etc/alternatives >>$OUTPUT 2>&1
uncompress_files $MODULE_UPPER_DIR/usr/share/man >>$OUTPUT 2>&1
# remove broken links
# $1 = search directory
remove_broken_links() {
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf >>$OUTPUT 2>&1
}
remove_broken_links $MODULE_UPPER_DIR/etc/alternatives >>$OUTPUT 2>&1
remove_broken_links $MODULE_UPPER_DIR/usr/share/man >>$OUTPUT 2>&1
set -e
}
function hostreq_pkg_list() {
echo -e "${YELLOW}=====> installing required software for host system ...${ENDCOLOUR}"
$APT_CMD update >>$OUTPUT 2>&1
@ -924,6 +954,8 @@ function main_pkg_list() {
LIVE_TYPE=$LIVE_TYPE \
/linux-live/basesystem/01-core/postinstall
fi
build_cleanup
}
function chroot_pkg_install() {
@ -987,7 +1019,7 @@ EOF
systemctl disable grub-initrd-fallback.service
fi
if grep openssh-server $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1; then
if grep openssh-server $SCRIPT_DIR/basesystem/01-core/package.list >>$OUTPUT 2>&1; then
echo "Enable ssh.service autostart." >>$OUTPUT 2>&1
cat <<EOF >/lib/systemd/system/ssh-keygen.service
[Unit]
@ -1249,13 +1281,14 @@ function module_chroot_umount_fs() {
umount $MODULE_MERGED_DIR/run >>$OUTPUT 2>&1
fi
umount $MODULE_MERGED_DIR >>$OUTPUT 2>&1
set -e
#set -e
MODULES=($PARENT_DIR/image/$LIVEKITNAME/*.$BEXT)
for ((i = ${#MODULES[@]} - 1; i >= 0; i--)); do
MODULE_LOWER_DIR=$(basename ${MODULES[$i]} .$BEXT)
umount $MODULES_DIR/lower/$MODULE_LOWER_DIR-lower
done
set -e
module_check_mounted
}
@ -1322,6 +1355,7 @@ function module_chroot_cleanup() {
rm -f $MODULE_UPPER_DIR/var/lib/dpkg/*-old >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/preinstall >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/install >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/install2 >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/cleanup >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/package.list >>$OUTPUT 2>&1
rm -f $MODULE_UPPER_DIR/postinstall >>$OUTPUT 2>&1
@ -1374,12 +1408,11 @@ function build_modules_chroot() {
# copy files
if [ ! -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
if [ "$(ls -A $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy)" != "" ]; then
echo "1"
if [ "$(ls -A $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy)" != "" ] >>$OUTPUT 2>&1; then
(cd $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy && cp --parents -afr * $MODULE_MERGED_DIR/)
fi
else
if [ "$(ls -A $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy)" != "" ]; then
if [ "$(ls -A $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy)" != "" ] >>$OUTPUT 2>&1; then
mkdir $MODULE_MERGED_DIR/rootcopy
(cd $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy && cp --parents -afr * $MODULE_MERGED_DIR/rootcopy/)
fi
@ -1411,6 +1444,8 @@ function build_modules_chroot() {
if [ -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
module_chroot_umount_fs
build_cleanup
# run external actions
if [ "$(ls -A $MODULE_UPPER_DIR)" != "" ]; then
@ -1432,6 +1467,10 @@ function build_modules_chroot() {
if [ -f $SCRIPT_DIR/linux-live/modules/$MODULE/install2 ]; then
cp $SCRIPT_DIR/linux-live/modules/$MODULE/install2 $MODULE_MERGED_DIR/install2
chmod +x $MODULE_MERGED_DIR/install2
if [ "$(ls -A $SCRIPT_DIR/linux-live/modules/$MODULE/patches)" != "" ] >>$OUTPUT 2>&1; then
mkdir $MODULE_MERGED_DIR/patches
(cd $SCRIPT_DIR/linux-live/modules/$MODULE/patches && cp --parents -afr * $MODULE_MERGED_DIR/patches/)
fi
chroot $MODULE_MERGED_DIR /usr/bin/env \
OUTPUT=$OUTPUT \
LOGPATH=$LOGPATH \
@ -1445,13 +1484,6 @@ function build_modules_chroot() {
/install2 >>$OUTPUT 2>&1
fi
: 'if [ ! -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
# copy files
if [ "$(ls -A $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy)" != "" ]; then
(cd $SCRIPT_DIR/linux-live/modules/$MODULE/rootcopy && cp --parents -afr * $MODULE_MERGED_DIR/)
fi
fi'
# run post-install script
if [ -f $SCRIPT_DIR/linux-live/modules/$MODULE/postinstall ]; then
cp $SCRIPT_DIR/linux-live/modules/$MODULE/postinstall $MODULE_MERGED_DIR/postinstall
@ -1474,18 +1506,22 @@ function build_modules_chroot() {
cp $MODULE_UPPER_DIR/$MODULE.$BEXT $PARENT_DIR/image/$LIVEKITNAME/$MODULE-$COMP_TYPE.$BEXT >>$OUTPUT 2>&1
fi
#if [ ! -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
module_chroot_finish_up
module_chroot_umount_fs
if [ ! -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
build_cleanup
fi
module_chroot_cleanup
#fi
if [ ! -f $PARENT_DIR/image/$LIVEKITNAME/$MODULE.$BEXT ] && [ ! -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
echo "here 1"
if [ ! -f $SCRIPT_DIR/linux-live/modules/$MODULE/is_internal_build ]; then
ls -la $SCRIPT_DIR/linux-live/modules/$MODULE/
if [ ! -f $PARENT_DIR/image/$LIVEKITNAME/$MODULE.$BEXT ]; then
build_modules_live
fi
fi
fi
done

3
linux-live/modules/01-firmware/install

@ -6,6 +6,9 @@ set -u # treat unset variable as error
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
echo "firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true" | debconf-set-selections
echo "b43-fwcutter b43-fwcutter/install-unconditional boolean true" | debconf-set-selections
# install packages
if [ -f $SCRIPT_DIR/package.list ]; then
#sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \

92
linux-live/modules/01-firmware/postinstall

@ -1,92 +0,0 @@
#!/bin/bash
rm -f /etc/fstab
rm -f /etc/mtab
rm -f /etc/apt/sources.list~
rm -Rf /etc/systemd/system/timers.target.wants
rm -f /etc/systemd/system/multi-user.target.wants/ssh.service
rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/lib/apt/extended_states
rm -f /var/lib/systemd/random-seed
rm -f /var/lib/apt/lists/deb.*
rm -Rf /root/.local/share/mc
rm -Rf /root/.cache
rm -f /root/.wget-hsts
rm -f /var/lib/dpkg/*-old
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/info/*
rm -f /usr/share/images/fluxbox/debian-squared.jpg
rm -Rf /usr/share/fluxbox/nls/??*
rm -Rf /usr/share/gnome/help
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*
rm -Rf /usr/share/icons/elementaryXubuntu-dark
rm -Rf /usr/share/icons/gnome/256x256
rm /usr/share/applications/compton.desktop
rm /usr/share/applications/debian-uxterm.desktop
rm /usr/share/applications/debian-xterm.desktop
rm /usr/share/applications/htop.desktop
rm /usr/share/applications/mc.desktop
rm /usr/share/applications/mcedit.desktop
rm /usr/share/applications/pcmanfm-desktop-pref.desktop
rm /usr/share/applications/python2.7.desktop
rm /usr/share/applications/python3.7.desktop
rm /usr/share/applications/vim.desktop
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files()
{
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip
}
uncompress_files /etc/alternatives
uncompress_files /usr/share/man
# remove broken links
# $1 = search directory
remove_broken_links()
{
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf
}
remove_broken_links /etc/alternatives
remove_broken_links /usr/share/man

5
linux-live/modules/02-xorg/install

@ -6,6 +6,8 @@ set -u # treat unset variable as error
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
echo "keyboard-configuration keyboard-configuration/variant select English (US)" | debconf-set-selections
# install packages
if [ -f $SCRIPT_DIR/package.list ]; then
#sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \
@ -14,3 +16,6 @@ if [ -f $SCRIPT_DIR/package.list ]; then
$APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \
$(grep -vE "^\s*#" $SCRIPT_DIR/package.list | tr "\n" " ") >>$OUTPUT 2>&1
fi
chown live.users /home/live
chown -R live.users /home/live

0
linux-live/modules/02-xorg/package.list

113
linux-live/modules/02-xorg/postinstall

@ -6,117 +6,16 @@ chmod u+s /usr/lib/xorg/Xorg
# use only white cursors. There were some troubles if the other cursors
# was left behind, installing gtk apps reverted the cursor from white to gray,
# so we're going to nuke it to leave only Snow cursors active.
rm -Rf /usr/share/icons/breeze_cursors
mv /usr/share/icons/Breeze_Snow /usr/share/icons/breeze_cursors
rm -Rf /usr/share/icons/breeze_cursors >>$OUTPUT 2>&1
mv /usr/share/icons/Breeze_Snow /usr/share/icons/breeze_cursors >>$OUTPUT 2>&1
(cd rootcopy && cp --parents -afr * /)
# install x11 server utils, apt-get would add cpp dependency, bullshit!
cd /tmp
apt-get download x11-xserver-utils
dpkg -x x11-xserver-utils*.deb /tmp/x11utils
apt-get download x11-xserver-utils >>$OUTPUT 2>&1
dpkg -x x11-xserver-utils*.deb /tmp/x11utils >>$OUTPUT 2>&1
cd /tmp/x11utils
cp -aR * /
update-alternatives --set x-terminal-emulator /usr/bin/xterm
apt-get remove --yes vim* grub* debconf-i18n installation-report
CWD="$(pwd)"
cd /tmp
apt-get download acpi-support
dpkg -x acpi-support*.deb /tmp/acpisupport
cd /tmp/acpisupport
cp -aR * /
cd "$CWD"
rm -f /etc/fstab
rm -f /etc/mtab
rm -f /etc/apt/sources.list~
rm -Rf /etc/systemd/system/timers.target.wants
rm -f /etc/systemd/system/multi-user.target.wants/ssh.service
rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/lib/apt/extended_states
rm -f /var/lib/systemd/random-seed
rm -f /var/lib/apt/lists/deb.*
rm -Rf /root/.local/share/mc
rm -Rf /root/.cache
rm -f /root/.wget-hsts
rm -f /var/lib/dpkg/*-old
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/info/*
rm -f /usr/share/images/fluxbox/debian-squared.jpg
rm -Rf /usr/share/fluxbox/nls/??*
rm -Rf /usr/share/gnome/help
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*
rm -Rf /usr/share/icons/elementaryXubuntu-dark
rm -Rf /usr/share/icons/gnome/256x256
rm /usr/share/applications/compton.desktop
rm /usr/share/applications/debian-uxterm.desktop
rm /usr/share/applications/debian-xterm.desktop
rm /usr/share/applications/htop.desktop
rm /usr/share/applications/mc.desktop
rm /usr/share/applications/mcedit.desktop
rm /usr/share/applications/pcmanfm-desktop-pref.desktop
rm /usr/share/applications/python2.7.desktop
rm /usr/share/applications/python3.7.desktop
rm /usr/share/applications/vim.desktop
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files()
{
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip
}
uncompress_files /etc/alternatives
uncompress_files /usr/share/man
# remove broken links
# $1 = search directory
remove_broken_links()
{
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf
}
remove_broken_links /etc/alternatives
remove_broken_links /usr/share/man
cp -aR * / >>$OUTPUT 2>&1
update-alternatives --set x-terminal-emulator /usr/bin/xterm >>$OUTPUT 2>&1

30
linux-live/modules/02-xorg/rootcopy/home/live/.Xresources

@ -0,0 +1,30 @@
! this are Xresources to make xterm look good
! put into ~/.Xresources
! after changing contents, run xrdb -merge .Xresources
! gentoo has a bug so that it doesnt read it when X starts, so add above
! command to /etc/xfce4/xinitrc (top) and be happy.
XTerm*foreground: white
XTerm*background: rgb:22/22/22
XTerm*cursorColor: rgb:00/ff/00
XTerm*borderColor: black
XTerm*scrollColor: black
XTerm*visualBell: true
XTerm*saveLines: 50000
XTerm*allowSendEvents: True
XTerm*sessionMgt: false
XTerm*rightScrollBar: true
XTerm*eightBitInput: false
XTerm*faceName:fixed:size=11
XTerm*boldFont:fixed:size=11
XTerm*activeIcon: true
XTerm*iconPixmap: /usr/share/icons/locolor/16x16/apps/xterm.xbm
XTerm*fullscreen: never
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.lcdfilter: lcdlegacy
Xft.rgba: rgb
XTerm*selectToClipboard: true

5
linux-live/modules/02-xorg/rootcopy/home/live/.blackbox-menu

@ -0,0 +1,5 @@
[begin] ( Menu )
[exec] (Terminal) { xterm -ls -title Terminal }
[exec] (Web browser) { chromium }
[exit] (Exit)
[end]

6
linux-live/modules/02-xorg/rootcopy/home/live/.blackboxrc

@ -0,0 +1,6 @@
session.screen0.toolbar.widthPercent: 100
session.screen0.strftimeFormat: %H:%M
session.edgeSnapThreshold: 10
session.menuFile: /root/.blackbox-menu
session.styleFile: /usr/share/blackbox/styles/Slax
session.changeWorkspaceWithMouseWheel: False

91
linux-live/modules/03-desktop/cleanup

@ -1,91 +0,0 @@
#!/bin/bash
rm -f /etc/fstab
rm -f /etc/mtab
rm -f /etc/apt/sources.list~
rm -Rf /etc/systemd/system/timers.target.wants
rm -f /etc/systemd/system/multi-user.target.wants/ssh.service
rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/lib/apt/extended_states
rm -f /var/lib/systemd/random-seed
rm -f /var/lib/apt/lists/deb.*
rm -Rf /root/.local/share/mc
rm -Rf /root/.cache
rm -f /root/.wget-hsts
rm -f /var/lib/dpkg/*-old
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/info/*
rm -f /usr/share/images/fluxbox/debian-squared.jpg
rm -Rf /usr/share/fluxbox/nls/??*
rm -Rf /usr/share/gnome/help
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*
rm -Rf /usr/share/icons/elementaryXubuntu-dark
rm -Rf /usr/share/icons/gnome/256x256
rm /usr/share/applications/compton.desktop
rm /usr/share/applications/debian-uxterm.desktop
rm /usr/share/applications/debian-xterm.desktop
rm /usr/share/applications/htop.desktop
rm /usr/share/applications/mc.desktop
rm /usr/share/applications/mcedit.desktop
rm /usr/share/applications/pcmanfm-desktop-pref.desktop
rm /usr/share/applications/python2.7.desktop
rm /usr/share/applications/python3.7.desktop
rm /usr/share/applications/vim.desktop
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files()
{
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip
}
uncompress_files /etc/alternatives
uncompress_files /usr/share/man
# remove broken links
# $1 = search directory
remove_broken_links()
{
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf
}
remove_broken_links /etc/alternatives
remove_broken_links /usr/share/man

9
linux-live/modules/03-desktop/install

@ -7,7 +7,7 @@ VERSION=1.3.5
# first install stock version
apt-get update
apt-get update >>$OUTPUT 2>&1
apt-get install --no-install-recommends --yes \
$NAME \
feh \
@ -15,11 +15,12 @@ apt-get install --no-install-recommends --yes \
volumeicon-alsa \
murrine-themes \
libnotify4 \
scrot
. ./cleanup
scrot >>$OUTPUT 2>&1
(cd /rootcopy && cp --parents -afr * /)
chown live.users /home/live
chown -R live.users /home/live/.gtkrc-2.0
chown -R live.users /home/live/.config
chown -R live.users /home/live

68
linux-live/modules/03-desktop/install2

@ -9,8 +9,8 @@ cd /
# create user directories
for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do
mkdir -p /squashfs-root/home/live/$dir
mkdir -p /squashfs-root/root/$dir
mkdir -p /squashfs-root/home/live/$dir >>$OUTPUT 2>&1
mkdir -p /squashfs-root/root/$dir >>$OUTPUT 2>&1
done
chown -R live.users /squashfs-root/home/live
@ -19,66 +19,66 @@ chown -R live.users /squashfs-root/home/live
REBUILD=/tmp/$NAME-rebuild-$$
apt-get update
apt-get --yes build-dep $NAME
apt-get update >>$OUTPUT 2>&1
apt-get --yes build-dep $NAME >>$OUTPUT 2>&1
mkdir -p $REBUILD
mkdir -p $REBUILD >>$OUTPUT 2>&1
cd $REBUILD
apt-get source $NAME
apt-get source $NAME >>$OUTPUT 2>&1
cd $NAME-$VERSION
cat $CWD/patches/fluxbox-slax.diff > debian/patches/fluxbox-slax.diff
echo fluxbox-slax.diff >> debian/patches/series
dpkg-buildpackage -us -uc
dpkg-buildpackage -us -uc >>$OUTPUT 2>&1
rm -Rf debian/$NAME/DEBIAN
rm -Rf debian/$NAME/usr/share/doc
rm -Rf debian/$NAME/usr/share/images
rm -Rf debian/$NAME/DEBIAN >>$OUTPUT 2>&1
rm -Rf debian/$NAME/usr/share/doc >>$OUTPUT 2>&1
rm -Rf debian/$NAME/usr/share/images >>$OUTPUT 2>&1
cp debian/$NAME/usr/bin/fluxbox /squashfs-root/usr/bin
cp debian/$NAME/usr/bin/fluxbox /squashfs-root/usr/bin >>$OUTPUT 2>&1
# add xlunch from sources
wget -O /tmp/xlunch.tar.gz https://github.com/Tomas-M/xlunch/archive/v4.5.3.tar.gz
wget -O /tmp/xlunch.tar.gz https://github.com/Tomas-M/xlunch/archive/v4.5.3.tar.gz >>$OUTPUT 2>&1
cd /tmp
tar -xf xlunch.tar.gz
tar -xf xlunch.tar.gz >>$OUTPUT 2>&1
cd xlunch-4.5.3
make
cp xlunch /squashfs-root/usr/bin
cp extra/gentriesquick /squashfs-root/usr/bin/xlunch_genquick
mkdir -p /squashfs-root/usr/share/icons/hicolor/48x48/apps/
make >>$OUTPUT 2>&1
cp xlunch /squashfs-root/usr/bin >>$OUTPUT 2>&1
cp extra/gentriesquick /squashfs-root/usr/bin/xlunch_genquick >>$OUTPUT 2>&1
mkdir -p /squashfs-root/usr/share/icons/hicolor/48x48/apps/ >>$OUTPUT 2>&1
cp extra/ghost.png /squashfs-root/usr/share/icons/hicolor/48x48/apps/xlunch_ghost.png
# add tray icon launcher
wget -O /tmp/systrayiconlauncher.tar.gz https://github.com/Tomas-M/SystrayIconLauncher/archive/master.tar.gz
wget -O /tmp/systrayiconlauncher.tar.gz https://github.com/Tomas-M/SystrayIconLauncher/archive/master.tar.gz >>$OUTPUT 2>&1
cd /tmp
tar -xf systrayiconlauncher.tar.gz
tar -xf systrayiconlauncher.tar.gz >>$OUTPUT 2>&1
cd SystrayIconLauncher-master
apt-get install --yes libgtk2.0-dev
make
cp systrayicon /squashfs-root/usr/bin
apt-get install --yes libgtk2.0-dev >>$OUTPUT 2>&1
make >>$OUTPUT 2>&1
cp systrayicon /squashfs-root/usr/bin >>$OUTPUT 2>&1
# add gtkdialog
wget -O /tmp/gtkdialog.tar.gz https://github.com/Tomas-M/GTKdialog/archive/master.tar.gz
wget -O /tmp/gtkdialog.tar.gz https://github.com/Tomas-M/GTKdialog/archive/master.tar.gz >>$OUTPUT 2>&1
cd /tmp
tar -xf gtkdialog.tar.gz
tar -xf gtkdialog.tar.gz >>$OUTPUT 2>&1
cd GTKdialog-master
make
cp gtkdialog /squashfs-root/usr/bin
make >>$OUTPUT 2>&1
cp gtkdialog /squashfs-root/usr/bin >>$OUTPUT 2>&1
# battery icon app
cd /tmp
wget https://github.com/valr/cbatticon/archive/1.6.7.tar.gz
tar -xf 1.6.7.tar.gz
wget https://github.com/valr/cbatticon/archive/1.6.7.tar.gz >>$OUTPUT 2>&1
tar -xf 1.6.7.tar.gz >>$OUTPUT 2>&1
cd cbatticon-1.6.7
cp -R /usr/include/glib-2.0/* /usr/include
cp -R /usr/include/gtk-2.0/* /usr/include
apt install --yes libnotify-dev
cp -R /usr/include/glib-2.0/* /usr/include >>$OUTPUT 2>&1
cp -R /usr/include/gtk-2.0/* /usr/include >>$OUTPUT 2>&1
apt install --yes libnotify-dev >>$OUTPUT 2>&1
sed -i "s/WITH_GTK3 = 1/WITH_GTK3 = 0/" Makefile
CFLAGS="-O2 \
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ \
@ -89,7 +89,7 @@ CFLAGS="-O2 \
-I/usr/include/pango-1.0 \
-I/usr/include/glib-2.0 \
-I/usr/include/gtk-2.0" \
make
cp cbatticon /squashfs-root/usr/bin
make >>$OUTPUT 2>&1
cp cbatticon /squashfs-root/usr/bin >>$OUTPUT 2>&1
dir2sb /squashfs-root /03-desktop.sb
dir2sb /squashfs-root /03-desktop.sb >>$OUTPUT 2>&1

19
linux-live/modules/03-desktop/rootcopy/home/live/.config/volumeicon/volumeicon

@ -0,0 +1,19 @@
[StatusIcon]
stepsize=5
lmb_slider=false
mmb_mute=false
use_horizontal_slider=false
show_sound_level=false
onclick=xterm -e 'alsamixer'
theme=White Gnome
[Hotkeys]
up_enabled=true
down_enabled=true
mute_enabled=true
up=XF86AudioRaiseVolume
down=XF86AudioLowerVolume
mute=XF86AudioMute
[Alsa]
card=default

20
linux-live/modules/03-desktop/rootcopy/home/live/.config/xarchiver/xarchiverrc

@ -0,0 +1,20 @@
[xarchiver]
preferred_format=0
confirm_deletion=true
sort_filename_content=false
store_output=false
icon_size=0
show_archive_comment=false
show_sidebar=false
show_location_bar=false
preferred_temp_dir=/tmp
allow_sub_dir=0
overwrite=false
full_path=true
touch=false
freshen=false
update=false
store_path=false
recurse=true
solid_archive=false
remove_files=false

18
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/apps

@ -0,0 +1,18 @@
[app] (name=fbrun)
[Position] (WINCENTER) {0 0}
[Layer] {2}
[end]
[app] (name=gtkdialog)
[Position] (WINCENTER) {0 0}
[Layer] {2}
[end]
[app] (name=xlunch)
[DECO] {NONE}
[IconHidden] {yes}
[end]
[app] (name=xterm) {1}
[Position] (WINCENTER) {0 0}
[end]

0
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/fbrun_history

76
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/init

@ -0,0 +1,76 @@
session.screen0.slit.maxOver: false
session.screen0.slit.placement: TopLeft
session.screen0.slit.layer: Dock
session.screen0.slit.onhead: 0
session.screen0.slit.acceptKdeDockapps: true
session.screen0.slit.alpha: 255
session.screen0.slit.autoHide: false
session.screen0.menu.alpha: 255
session.screen0.clientMenu.usePixmap: true
session.screen0.tab.placement: TopLeft
session.screen0.tab.width: 64
session.screen0.toolbar.maxOver: false
session.screen0.toolbar.tools: RootMenu, iconbar, systemtray, clock
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.widthPercent: 100
session.screen0.toolbar.alpha: 255
session.screen0.toolbar.visible: true
session.screen0.toolbar.placement: BottomCenter
session.screen0.toolbar.layer: Dock
session.screen0.toolbar.height: 0
session.screen0.toolbar.onhead: 1
session.screen0.tabs.usePixmap: true
session.screen0.tabs.maxOver: true
session.screen0.tabs.intitlebar: true
session.screen0.window.focus.alpha: 255
session.screen0.window.unfocus.alpha: 255
session.screen0.iconbar.usePixmap: true
session.screen0.iconbar.alignment: Left
session.screen0.iconbar.iconTextPadding: 10
session.screen0.iconbar.mode: {static groups} (workspace)
session.screen0.iconbar.iconWidth: 128
session.screen0.titlebar.left:
session.screen0.titlebar.right: Minimize Maximize Close
session.screen0.clickRaises: true
session.screen0.maxIgnoreIncrement: false
session.screen0.workspacewarping: true
session.screen0.colPlacementDirection: TopToBottom
session.screen0.maxDisableMove: false
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.focusNewWindows: true
session.screen0.autoRaise: true
session.screen0.opaqueMove: true
session.screen0.maxDisableResize: false
session.screen0.tabFocusModel: ClickToTabFocus
session.screen0.tooltipDelay: 500
session.screen0.fullMaximization: false
session.screen0.noFocusWhileTypingDelay: 0
session.screen0.strftimeFormat: %H:%M
session.screen0.workspaces: 4
session.screen0.allowRemoteActions: false
session.screen0.focusModel: ClickFocus
session.screen0.windowMenu: /root/.fluxbox/windowmenu
session.screen0.workspaceNames: Workspace 1 Ctrl+F1,Workspace 2 Ctrl+F2,Workspace 3 Ctrl+F3,Workspace 4 Ctrl+F4,
session.screen0.edgeSnapThreshold: 10
session.screen0.showwindowposition: false
session.screen0.defaultDeco: NORMAL
session.screen0.menuDelay: 200
session.screen0.windowPlacement: RowMinOverlapPlacement
session.screen0.focusSameHead: false
session.screen0.workspacewarping: false
session.keyFile: ~/.fluxbox/keys
session.menuFile: ~/.fluxbox/menu
session.styleFile: /usr/share/fluxbox/styles/Slax
session.colorsPerChannel: 4
session.forcePseudoTransparency: true
session.ignoreBorder: false
session.doubleClickInterval: 250
session.appsFile: /root/.fluxbox/apps
session.tabPadding: 0
session.cacheLife: 5
session.cacheMax: 200
session.styleOverlay: /root/.fluxbox/overlay
session.autoRaiseDelay: 250
session.slitlistFile: /root/.fluxbox/slitlist
session.tabsAttachArea: Window
session.configVersion: 13

1
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/kblayout

@ -0,0 +1 @@
en

139
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/keys

@ -0,0 +1,139 @@
# click on the desktop to get menus
OnDesktop Mouse1 :MacroCmd {WindowMenu} {HideMenus}
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu
# scroll on the desktop to change workspaces
#OnDesktop Mouse4 :PrevWorkspace
#OnDesktop Mouse5 :NextWorkspace
# scroll on the toolbar to change current window
#OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
#OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
# alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindowBorder Move1 :StartMoving
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
OnLeftGrip Move1 :StartResizing bottomleft
OnRightGrip Move1 :StartResizing bottomright
# alt + middle click to lower the window
OnWindow Mod1 Mouse2 :Lower
# control-click a window's titlebar and drag to attach windows
OnTitlebar Control Mouse1 :StartTabbing
# double click on the titlebar to shade
OnTitlebar Double Mouse1 :Maximize
# left click on the titlebar to move the window
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab} {StartMoving}
OnTitlebar Move1 :StartMoving
# middle click on the titlebar to lower
OnTitlebar Mouse2 :Lower
# right click on the titlebar for a menu of options
OnTitlebar Mouse3 :WindowMenu
# alt-tab
Mod1 Tab :NextWindow {groups} (workspace=[current])
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
# cycle through tabs in the current window
Mod4 Tab :NextTab
Mod4 Shift Tab :PrevTab
# go to a specific tab in the current window
Mod4 1 :Tab 1
Mod4 2 :Tab 2
Mod4 3 :Tab 3
Mod4 4 :Tab 4
Mod4 5 :Tab 5
Mod4 6 :Tab 6
Mod4 7 :Tab 7
Mod4 8 :Tab 8
Mod4 9 :Tab 9
# open a terminal
Mod1 F1 :Exec xterm
# open a dialog to run programs
Mod1 F2 :Exec fbappselect
# volume settings, using common keycodes
# if these don't work, use xev to find out your real keycodes
176 :Exec amixer sset Master,0 1+
174 :Exec amixer sset Master,0 1-
160 :Exec amixer sset Master,0 toggle
# current window commands
Mod1 F4 :Close
Mod1 F5 :Kill
Mod1 F9 :Minimize
Mod1 F10 :Maximize
Mod1 F11 :Fullscreen
# open the window menu
Mod1 space :WindowMenu
# exit fluxbox
Control Mod1 Delete :Exit
# change to previous/next workspace
Control Mod1 Left :PrevWorkspace
Control Mod1 Right :NextWorkspace
# send the current window to previous/next workspace
Mod4 Left :SendToPrevWorkspace
Mod4 Right :SendToNextWorkspace
# send the current window and follow it to previous/next workspace
Control Mod4 Left :TakeToPrevWorkspace
Control Mod4 Right :TakeToNextWorkspace
# change to a specific workspace
Control F1 :Workspace 1
Control F2 :Workspace 2
Control F3 :Workspace 3
Control F4 :Workspace 4
Control F5 :Workspace 5
Control F6 :Workspace 6
Control F7 :Workspace 7
Control F8 :Workspace 8
Control F9 :Workspace 9
Control F10 :Workspace 10
Control F11 :Workspace 11
Control F12 :Workspace 12
# send the current window to a specific workspace
Mod4 F1 :SendToWorkspace 1
Mod4 F2 :SendToWorkspace 2
Mod4 F3 :SendToWorkspace 3
Mod4 F4 :SendToWorkspace 4
Mod4 F5 :SendToWorkspace 5
Mod4 F6 :SendToWorkspace 6
Mod4 F7 :SendToWorkspace 7
Mod4 F8 :SendToWorkspace 8
Mod4 F9 :SendToWorkspace 9
Mod4 F10 :SendToWorkspace 10
Mod4 F11 :SendToWorkspace 11
Mod4 F12 :SendToWorkspace 12
# send the current window and change to a specific workspace
Control Mod4 F1 :TakeToWorkspace 1
Control Mod4 F2 :TakeToWorkspace 2
Control Mod4 F3 :TakeToWorkspace 3
Control Mod4 F4 :TakeToWorkspace 4
Control Mod4 F5 :TakeToWorkspace 5
Control Mod4 F6 :TakeToWorkspace 6
Control Mod4 F7 :TakeToWorkspace 7
Control Mod4 F8 :TakeToWorkspace 8
Control Mod4 F9 :TakeToWorkspace 9
Control Mod4 F10 :TakeToWorkspace 10
Control Mod4 F11 :TakeToWorkspace 11
Control Mod4 F12 :TakeToWorkspace 12
Print :Exec fbprintscreen

1
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/lastwallpaper

@ -0,0 +1 @@
fbsetroot|-foreground #7790aa -solid #7790aa|style|:0.0

68
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/menu

@ -0,0 +1,68 @@
[begin] (Desktop menu)
[exec] (Terminal) { fbstartupnotify && xterm -ls }
[exec] (File Manager) { fbstartupnotify && pcmanfm }
[exec] (Web Browser) { fbstartupnotify && fbliveapp chromium }
[exec] (Text Editor) { fbstartupnotify && leafpad }
[exec] (Calculator) { fbstartupnotify && qalculate }
[exec] (Network Manager) { fbstartupnotify && wicd-manager }
[exec] (Run) { fbappselect }
[separator]
[workspaces] (Workspaces ...)
[submenu] (Screen resolution ...) {}
[include] (~/.fluxbox/menu_resolution)
[end]
[submenu] (Keyboard layout ...) {}
[exec] (Czech) { fbsetkb cz } </usr/share/icons/locolor/16x16/flags/flag_czech_republic.png>
[exec] (English) { fbsetkb us } </usr/share/icons/locolor/16x16/flags/flag_usa.png>
[exec] (French) { fbsetkb fr } </usr/share/icons/locolor/16x16/flags/flag_france.png>
[exec] (German) { fbsetkb de } </usr/share/icons/locolor/16x16/flags/flag_germany.png>
[exec] (Italian) { fbsetkb it } </usr/share/icons/locolor/16x16/flags/flag_italy.png>
[exec] (Polish) { fbsetkb pl } </usr/share/icons/locolor/16x16/flags/flag_poland.png>
[exec] (Portuguese) { fbsetkb pt } </usr/share/icons/locolor/16x16/flags/flag_portugal.png>
[exec] (Russian) { fbsetkb ru } </usr/share/icons/locolor/16x16/flags/flag_russia.png>
[exec] (Slovak) { fbsetkb sk } </usr/share/icons/locolor/16x16/flags/flag_slovakia.png>
[exec] (Spanish) { fbsetkb es } </usr/share/icons/locolor/16x16/flags/flag_spain.png>
[exec] (Ukrainian) { fbsetkb ua } </usr/share/icons/locolor/16x16/flags/flag_ukraine.png>
[submenu] (Other ...) {}
[exec] (Afghani) { fbsetkb af }
[exec] (Albanian) { fbsetkb al }
[exec] (Arabic [Morocco]) { fbsetkb ma }
[exec] (Arabic) { fbsetkb ara }
[exec] (Armenian) { fbsetkb am }
[exec] (Azerbaijani) { fbsetkb az }
[exec] (Belarusian) { fbsetkb by }
[exec] (Belgian) { fbsetkb be }
[exec] (Berber [Algeria]) { fbsetkb dz }
[exec] (Bosnian) { fbsetkb ba }
[exec] (Brasil) { fbsetkb br }
[exec] (Bulgarian) { fbsetkb bg }
[exec] (Croatian) { fbsetkb hr }
[exec] (Danish) { fbsetkb dk }
[exec] (Dutch) { fbsetkb nl }
[exec] (English [Australian]) { fbsetkb au }
[exec] (Estonian) { fbsetkb ee }
[exec] (Finnish) { fbsetkb fi }
[exec] (French [Canada]) { fbsetkb ca }
[exec] (German [Austria]) { fbsetkb at }
[exec] (German [Switzerland]) { fbsetkb ch }
[exec] (Greek) { fbsetkb gr }
[exec] (Hebrew) { fbsetkb il }
[exec] (Hungarian) { fbsetkb hu }
[exec] (Icelandic) { fbsetkb is }
[exec] (Indian) { fbsetkb in }
[exec] (Iraqi) { fbsetkb iq }
[exec] (Irish) { fbsetkb ie }
[exec] (Latvian) { fbsetkb lv }
[exec] (Lithuanian) { fbsetkb lt }
[exec] (Norwegian) { fbsetkb no }
[exec] (Persian) { fbsetkb ir }
[exec] (Romanian) { fbsetkb ro }
[exec] (Serbian) { fbsetkb rs }
[exec] (Slovenian) { fbsetkb si }
[exec] (Swedish) { fbsetkb se }
[exec] (Turkish) { fbsetkb tr }
[end]
[end]
[exec] (Exit / Logout) { fblogout }
[end]

2
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/overlay

@ -0,0 +1,2 @@
! The following line will prevent styles from setting the background.
! background: none

0
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/slitlist

111
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/startup

@ -0,0 +1,111 @@
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/root/.Xmodmap"
# merge xresource settings
xrdb -merge ~/.Xresources
# set keyboard layout
fbsetkb $(cat ~/.fluxbox/kblayout)
# setup bookmarks for file manager
gtk-bookmarks-update
# Share common directories with guest user. This is necessary
# because some apps like chromium must be running under guest
for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do
if ! mountpoint /root/$dir; then
mount --bind /home/live/$dir /root/$dir
fi
done
# set background color and big wait mouse cursor
xsetroot -solid '#111111'
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
# disable screen blanking
xset s off
xset -dpms
# volume icon in system tray. Can fail if no soundcard is detected
volumeicon &
# preload compton and fluxbox to cache
(compton --help; fluxbox --help) >/dev/null 2>&1
# Keep black screen for first second while the sound plays.
# This slows startup a little, but it is nicer effect.
SND=/usr/share/sounds/startup.wav
if [ -r $SND ]; then
cat $SND > /dev/null # preload
aplay $SND &
sleep 1 &
SOUNDPID=$!
fi
# Debian-local change:
# - fbautostart has been added with a quick hack to check to see if it
# exists. If it does, we'll start it up by default.
which fbautostart > /dev/null
if [ $? -eq 0 ]; then
fbautostart
fi
# We need to postpone compton after fluxbox starts, else it won't set
# the transparency of toolbar properly... So we check the fehbg file,
# which is created by fluxbox at the phase when it sets background.
# Once the file exist, fluxbox-toolbar is already started
SIGNAL1=~/.fehbg
SIGNAL2=~/.fehbg2
rm -f $SIGNAL1 2>/dev/null
rm -f $SIGNAL2 2>/dev/null
(
while [ ! -e $SIGNAL1 ]; do
sleep 0.1
done
touch $SIGNAL2
(sleep 1; (echo; sleep 10; echo :quit) | xlunch --window --xposition 20 --yposition -30 \
--width 195 --height 53 --noscroll --noprompt --backgroundcolor ffffff00 \
--multiple --desktop --button "/usr/share/fluxbox/styles/Slax/pixmaps/start-here.png;;0,0;fbappselect" & ) &
exec compton --sw-opti -e 0.9 --shadow-exclude 'class_g="xlunch-windowed"' --fade-exclude 'role*="fluxbox-toolbar"' --opacity-rule '70:role*="fluxbox-toolbar"' --no-fading-destroyed-argb -D 5 -c -f -l -2 -t -2 -r 0 -o 1 -z --shadow-exclude 'bounding_shaped'
) &
# We want to run systrayicon only after the volumeicon is started
# So we have to wait until it is visible to xwinfo
# We also wait after background is set and compton is started
(
while [ ! -e $SIGNAL2 ]; do
sleep 0.1
done
rm -f $SIGNAL2
while ! xwininfo -name volumeicon >/dev/null 2>&1 && pgrep volumeicon >/dev/null 2>&1; do
sleep 0.1
done
exec systrayicon --command fblogout --iconfile /usr/share/icons/locolor/16x16/actions/system-shutdown-symbolic.png
) &
# gen screen resolutions to fluxbox menu
xrandr 2>/dev/null | fgrep x | fgrep . | sort -n | tr -s " " | cut -d " " -f 2 \
| sed -r "s:(.*):[exec] (\\1) {fbscreensize \\1}:" > ~/.fluxbox/menu_resolution
# In all cases, wait for the sound sleeper.
# If startup took longer (sound completed already), no extra wait
wait $SOUNDPID
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec fluxbox

15
linux-live/modules/03-desktop/rootcopy/home/live/.fluxbox/windowmenu

@ -0,0 +1,15 @@
[begin]
[shade]
[stick]
[maximize]
[iconify]
[raise]
[lower]
[settitledialog]
[sendto]
[layer]
[alpha]
[extramenus]
[separator]
[close]
[end]

1
linux-live/modules/03-desktop/rootcopy/home/live/.xinitrc

@ -0,0 +1 @@
startfluxbox

BIN
linux-live/modules/03-desktop/rootcopy/usr/share/wallpapers/slax_wallpaper.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 KiB

After

Width:  |  Height:  |  Size: 901 KiB

91
linux-live/modules/04-apps/cleanup

@ -1,91 +0,0 @@
#!/bin/bash
rm -f /etc/fstab
rm -f /etc/mtab
rm -f /etc/apt/sources.list~
rm -Rf /etc/systemd/system/timers.target.wants
rm -f /etc/systemd/system/multi-user.target.wants/ssh.service
rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/lib/apt/extended_states
rm -f /var/lib/systemd/random-seed
rm -f /var/lib/apt/lists/deb.*
rm -Rf /root/.local/share/mc
rm -Rf /root/.cache
rm -f /root/.wget-hsts
rm -f /var/lib/dpkg/*-old
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/info/*
rm -f /usr/share/images/fluxbox/debian-squared.jpg
rm -Rf /usr/share/fluxbox/nls/??*
rm -Rf /usr/share/gnome/help
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*
rm -Rf /usr/share/icons/elementaryXubuntu-dark
rm -Rf /usr/share/icons/gnome/256x256
rm /usr/share/applications/compton.desktop
rm /usr/share/applications/debian-uxterm.desktop
rm /usr/share/applications/debian-xterm.desktop
rm /usr/share/applications/htop.desktop
rm /usr/share/applications/mc.desktop
rm /usr/share/applications/mcedit.desktop
rm /usr/share/applications/pcmanfm-desktop-pref.desktop
rm /usr/share/applications/python2.7.desktop
rm /usr/share/applications/python3.7.desktop
rm /usr/share/applications/vim.desktop
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files()
{
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip
}
uncompress_files /etc/alternatives
uncompress_files /usr/share/man
# remove broken links
# $1 = search directory
remove_broken_links()
{
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf
}
remove_broken_links /etc/alternatives
remove_broken_links /usr/share/man

11
linux-live/modules/04-apps/install

@ -2,14 +2,17 @@
CWD=$(dirname $(readlink -f $0))
apt-get update
echo "wicd-daemon wicd/users multiselect live" | debconf-set-selections
apt-get update >>$OUTPUT 2>&1
apt-get install --no-install-recommends --yes \
qalculate-gtk \
pcmanfm \
lxtask \
xarchiver xdg-utils libgconf-2-4 \
wicd
. ./cleanup
wicd >>$OUTPUT 2>&1
(cd /rootcopy && cp --parents -afr * /)
chown live.users /home/live
chown -R live.users /home/live

32
linux-live/modules/04-apps/install2

@ -4,34 +4,34 @@ CWD=$(dirname $(readlink -f $0))
cd /
rm -Rf /squashfs-root/root/.fluxbox
rm -f /squashfs-root/root/.gtk-bookmarks
#rm -Rf /squashfs-root/root/.fluxbox >>$OUTPUT 2>&1
#rm -f /squashfs-root/root/.gtk-bookmarks >>$OUTPUT 2>&1
# we want to patch pcmanfm it to hide ugly root warning icon
# so we will recompile whole package
REBUILD=/tmp/pcmanfm-rebuild-$$
apt-get update
apt-get --yes build-dep pcmanfm
apt-get update >>$OUTPUT 2>&1
apt-get --yes build-dep pcmanfm >>$OUTPUT 2>&1
mkdir -p -m 0777 $REBUILD
cd $REBUILD
apt-get source pcmanfm
apt-get source pcmanfm >>$OUTPUT 2>&1
cd pcmanfm-1.3.1
dpkg-buildpackage -us -uc
patch -p1 < $CWD/patches/pcmanfm-slax.diff
make
dpkg-buildpackage -us -uc >>$OUTPUT 2>&1
patch -p1 < $CWD/patches/pcmanfm-slax.diff >>$OUTPUT 2>&1
make >>$OUTPUT 2>&1
strip --strip-unneeded src/pcmanfm
cp src/pcmanfm /squashfs-root/usr/bin
strip --strip-unneeded src/pcmanfm >>$OUTPUT 2>&1
cp src/pcmanfm /squashfs-root/usr/bin >>$OUTPUT 2>&1
rm -f /squashfs-root/usr/share/applications/leafpad.desktop
rm -f /squashfs-root/usr/share/applications/qalculate-gtk.desktop
rm -f /squashfs-root/usr/share/applications/pcmanfm.desktop
rm -f /squashfs-root/usr/share/applications/wicd.desktop
rm -f /squashfs-root/usr/share/applications/lxtask.desktop
rm -f /squashfs-root/usr/share/applications/leafpad.desktop >>$OUTPUT 2>&1
rm -f /squashfs-root/usr/share/applications/qalculate-gtk.desktop >>$OUTPUT 2>&1
rm -f /squashfs-root/usr/share/applications/pcmanfm.desktop >>$OUTPUT 2>&1
rm -f /squashfs-root/usr/share/applications/wicd.desktop >>$OUTPUT 2>&1
rm -f /squashfs-root/usr/share/applications/lxtask.desktop >>$OUTPUT 2>&1
dir2sb /squashfs-root /04-apps.sb
dir2sb /squashfs-root /04-apps.sb >>$OUTPUT 2>&1

45
linux-live/modules/04-apps/rootcopy/home/live/.config/libfm/libfm.conf

@ -0,0 +1,45 @@
# Configuration file for the libfm version 1.2.5.
# Autogenerated file, don't edit, your changes will be overwritten.
[config]
single_click=0
use_trash=0
confirm_del=1
confirm_trash=1
advanced_mode=0
si_unit=0
force_startup_notify=1
backup_as_hidden=1
no_usb_trash=1
no_child_non_expandable=0
show_full_names=1
only_user_templates=0
template_run_app=0
template_type_once=0
auto_selection_delay=600
drop_default_action=ask
defer_content_test=0
quick_exec=0
show_internal_volumes=0
terminal=x-terminal-emulator %s
thumbnail_local=1
thumbnail_max=2048
smart_desktop_autodrop=1
[ui]
big_icon_size=48
small_icon_size=24
pane_icon_size=24
thumbnail_size=128
show_thumbnail=1
shadow_hidden=1
[places]
places_home=1
places_desktop=0
places_root=0
places_computer=0
places_trash=0
places_applications=0
places_network=0
places_unmounted=0

26
linux-live/modules/04-apps/rootcopy/home/live/.config/pcmanfm/default/pcmanfm.conf

@ -0,0 +1,26 @@
[config]
bm_open_method=0
[volume]
mount_on_startup=1
mount_removable=1
autorun=1
[ui]
always_show_tabs=0
max_tab_chars=32
win_width=640
win_height=480
splitter_pos=150
media_in_new_tab=0
desktop_folder_new_win=0
change_tab_on_drop=1
close_on_unmount=1
focus_previous=1
side_pane_mode=places
view_mode=list
show_hidden=0
sort=name;ascending;
toolbar=
show_statusbar=1
pathbar_mode_buttons=1

127
linux-live/modules/04-apps/rootcopy/home/live/.qalculate/qalculate-gtk.cfg

@ -0,0 +1,127 @@
[General]
version=0.9.7
width=450
height=400
save_mode_on_exit=1
save_definitions_on_exit=1
load_global_definitions=1
fetch_exchange_rates_at_startup=0
wget_args=--quiet --tries=1
show_keypad=1
show_history=0
show_stack=1
rpn_keypad_only=1
display_expression_status=1
enable_completion=1
use_unicode_signs=1
lower_case_numbers=0
lower_case_e=1
base_display=1
spell_out_logical_operators=1
dot_as_separator=0
use_custom_result_font=0
use_custom_expression_font=0
use_custom_status_font=0
custom_result_font=Sans 10
custom_expression_font=Sans 10
custom_status_font=Sans 10
multiplication_sign=0
division_sign=1
expression_history=10*20
expression_history=d*d
expression_history=5+2/200000000000
expression_history=5+2/200000
expression_history=5+2/2
expression_history=5+2/3
history_expression=10*20
history_parse=10 * 20
history_result=200
history_expression=d*d
history_parse=day * day
history_result=1 d^2
history_expression=5+2/200000000000
history_parse=5 + (2 ∕ 2E11)
history_result_approximate=5
history_result_approximate=5
history_expression=5+2/200000000000
history_parse=5 + (2 ∕ 2E11)
history_result_approximate=5
history_result_approximate=5
history_result_approximate=5
history_expression=5+2/200000000000
history_parse=5 + (2 ∕ 2E11)
history_result_approximate=5
history_expression=5+2/200000
history_parse=5 + (2 ∕ 200000)
history_result=5.00001
history_expression=5+2/2
history_parse=5 + (2 ∕ 2)
history_result=6
history_expression=5+2/3
history_parse=5 + (2 ∕ 3)
history_result_approximate=5.6666667
recent_functions=
recent_variables=
recent_units=
[Mode]
min_deci=0
use_min_deci=0
max_deci=2
use_max_deci=0
precision=8
min_exp=-1
negative_exponents=0
sort_minus_last=1
number_fraction_format=0
use_prefixes=1
abbreviate_names=1
all_prefixes_enabled=0
denominator_prefix_enabled=1
place_units_separately=1
auto_post_conversion=0
number_base=10
number_base_expression=10
read_precision=0
assume_denominators_nonzero=1
warn_about_denominators_assumed_nonzero=1
structuring=1
angle_unit=1
functions_enabled=1
variables_enabled=1
calculate_functions=1
calculate_variables=1
sync_units=1
unknownvariables_enabled=0
units_enabled=1
allow_complex=1
allow_infinite=1
indicate_infinite_series=0
show_ending_zeroes=0
round_halfway_to_even=0
approximation=1
in_rpn_mode=0
rpn_syntax=0
limit_implicit_multiplication=0
spacious=1
excessive_parenthesis=0
short_multiplication=1
default_assumption_type=4
default_assumption_sign=0
[Plotting]
plot_legend_placement=2
plot_style=0
plot_smoothing=0
plot_display_grid=1
plot_full_border=0
plot_min=0
plot_max=10
plot_step=1
plot_sampling_rate=100
plot_use_sampling_rate=1
plot_variable=x
plot_rows=0
plot_type=0
plot_color=1

91
linux-live/modules/05-chromium/cleanup

@ -1,91 +0,0 @@
#!/bin/bash
rm -f /etc/fstab
rm -f /etc/mtab
rm -f /etc/apt/sources.list~
rm -Rf /etc/systemd/system/timers.target.wants
rm -f /etc/systemd/system/multi-user.target.wants/ssh.service
rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
rm -f /etc/ssh/ssh_host*
rm -f /var/backups/*
rm -f /var/cache/ldconfig/*
rm -f /var/cache/debconf/*
rm -f /var/cache/fontconfig/*
rm -f /var/lib/apt/extended_states
rm -f /var/lib/systemd/random-seed
rm -f /var/lib/apt/lists/deb.*
rm -Rf /root/.local/share/mc
rm -Rf /root/.cache
rm -f /root/.wget-hsts
rm -f /var/lib/dpkg/*-old
rm -f /var/log/*
rm -f /var/log/*/*
rm -f /var/log/*/*/*
rm -f /var/cache/apt/archives/*.deb
rm -f /var/cache/apt/*.bin
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dhcp/dhclient.leases
rm -f /root/.bash_history
rm -f /root/.wget-hsts
rm -Rf /usr/share/doc/*
rm -Rf /usr/share/info/*
rm -f /usr/share/images/fluxbox/debian-squared.jpg
rm -Rf /usr/share/fluxbox/nls/??*
rm -Rf /usr/share/gnome/help
rm -Rf /usr/share/locale/??
rm -Rf /usr/share/locale/??_*
rm -Rf /usr/share/locale/??@*
rm -Rf /usr/share/locale/???
rm -Rf /usr/share/i18n/locales/*_*
rm -Rf /usr/share/man/??
rm -Rf /usr/share/man/*_*
rm -Rf /usr/share/icons/elementaryXubuntu-dark
rm -Rf /usr/share/icons/gnome/256x256
rm /usr/share/applications/compton.desktop
rm /usr/share/applications/debian-uxterm.desktop
rm /usr/share/applications/debian-xterm.desktop
rm /usr/share/applications/htop.desktop
rm /usr/share/applications/mc.desktop
rm /usr/share/applications/mcedit.desktop
rm /usr/share/applications/pcmanfm-desktop-pref.desktop
rm /usr/share/applications/python2.7.desktop
rm /usr/share/applications/python3.7.desktop
rm /usr/share/applications/vim.desktop
# Unzip gzipped files (man pages), so LZMA can compress 2times better.
# First we fix symlinks, then uncompress files
# $1 = search directory
uncompress_files()
{
local LINK LINE
find "$1" -type l -name "*.gz" | while read LINE; do
LINK="$(readlink "$LINE" | sed -r 's/.gz$//')"
FILE="$(echo "$LINE" | sed -r 's/.gz$//')"
ln -sfn "$LINK" "$FILE"
rm -f "$LINE"
done
find "$1" -type f -name "*.gz" | xargs -r gunzip
}
uncompress_files /etc/alternatives
uncompress_files /usr/share/man
# remove broken links
# $1 = search directory
remove_broken_links()
{
find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf
}
remove_broken_links /etc/alternatives
remove_broken_links /usr/share/man

18
linux-live/modules/05-chromium/install

@ -1,15 +1,13 @@
#!/bin/bash
apt-get update
apt-get install --yes --no-install-recommends chromium chromium-sandbox
. ./cleanup
apt-get update >>$OUTPUT 2>&1
apt-get install --yes --no-install-recommends chromium chromium-sandbox >>$OUTPUT 2>&1
echo 'export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disk-cache-dir=/dev/null --disk-cache-size=1"' >>/etc/chromium.d/default-flags
rm -Rf /usr/share/icons/gnome/256x256
rm -Rf /root/.fluxbox
rm -Rf /root/.fluxbox/kblayout
rm -Rf /root/.gtk-bookmarks
rm -Rf /var/lib/wicd/dhclient.conf
rm -Rf /usr/share/applications/chromium.desktop
rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1
#rm -Rf /root/.fluxbox
#rm -Rf /root/.fluxbox/kblayout
#rm -Rf /root/.gtk-bookmarks
#rm -Rf /var/lib/wicd/dhclient.conf
rm -Rf /usr/share/applications/chromium.desktop >>$OUTPUT 2>&1

41
linux-live/pkglists/main.list

@ -1,41 +0,0 @@
mc
squashfs-tools
genisoimage
zip
unzip
psmisc
net-tools
alsa-utils
man
less
xz-utils
ca-certificates
openssl
acpid
acpi-support-base
powermgmt-base
bzip2
gpart
hdparm
sdparm
mdadm
smartmontools
dosfstools
lsof
htop
gddrescue
rsync
netcat
ssh
gpm
wireless-tools
ntfs-3g
rfkill
file
dnsmasq
ntpdate
dvd+rw-tools
usb-modeswitch
pm-utils
wget
linux-image-amd64

2
linux-live/pkglists/prereq.list

@ -1,5 +1,5 @@
# Приложения, без которых невозможна установка.
sudo
libterm-readline-gnu-perl
#libterm-readline-gnu-perl
systemd-sysv
dbus
Loading…
Cancel
Save