hab alle Gehirnzellen noch mal mit Gerstensaft versorgt
Mensch klar, Ordner muß leer sein
Das ist wirklich ne feine Sache wenn man weis wie es geht
Da ich gerade so begeistert bin
mache mal ein kleines Beispiel bzw. kleine Anleitung vielleicht braucht es ja der ein oder andere noch
NI-AX HD51
im BS NI /local --->neuen Ordner script mit Inhalt Datei personalize erstellen.
sieht dann so aus
Code: Alles auswählen
#!/bin/bash
TARGETPREFIX=$2
BUILD_TMP=$3
start() {
set -x
echo "exec local start goodies ..."
cp -a $HOME/udog-icons/* $TARGETPREFIX/share/tuxbox/neutrino/xxxxx/
cp -a $HOME/udog-update/* $TARGETPREFIX/var/etc/
cp -a $HOME/udog-conf/* $TARGETPREFIX/var/tuxbox/config/
set +x
}
stop() {
echo "exec local stop goodies ..."
}
case $1 in
start) start ;;
stop) stop ;;
esac
zB. bei mir hier im Home Verzeichniss Ordner anlegen und mit persönlichen Sachen füttern die nach dem Imagebau in die jeweiligen Verzeichnissen kopiert werden.
damit das ganze auch automatisch klappt muß noch der Eintrag PERSONALIZE = yes in die config.local
Es gibt bestimmt noch andere Möglichkeiten, mir gefällt das bisher ganz gut
Vielen Dank geht an DboxOldie unseren Fuchs
ich hoffe ich hab nichts vergessen .............
ob das ganze klappt kann man mit
Code: Alles auswählen
make personalize
Code: Alles auswählen
*************
*** Done! ***
*************
udog@ubuntu:~/ni-buildsystem$ make personalize
+ echo 'exec local start goodies ...'
exec local start goodies ...
+ cp -a /home/udog/udog-icons/0.png /home/udog/udog-icons/1.png /home/udog/udog-icons/2.png /home/udog/udog-icons/3.png /home/udog/udog-icons/4.png /home/udog/udog-icons/5.png /home/udog/udog-icons/6.png /home/udog/udog-icons/7.png /home/udog/udog-icons/8.png /home/udog/udog-icons/9.png /home/udog/udog-icons/blau.png /home/udog/udog-icons/gelb.png /home/udog/udog-icons/gruen.png /home/udog/udog-icons/icon_green.png /home/udog/udog-icons/icon_red.png /home/udog/udog-icons/icon_yellow.png /home/udog/udog-icons/info_key.png /home/udog/udog-icons/info.png /home/udog/udog-icons/information.png /home/udog/udog-icons/info_small.png /home/udog/udog-icons/menu.png /home/udog/udog-icons/nagra_green.png /home/udog/udog-icons/radiotextget.png '/home/udog/udog-icons/rec_event_marker - Kopie.png' /home/udog/udog-icons/rec_event_marker.png /home/udog/udog-icons/rec_gray.png '/home/udog/udog-icons/rec - Kopie.png' /home/udog/udog-icons/rec.png '/home/udog/udog-icons/res_1080 - Kopie.png' /home/udog/udog-icons/res_1080.png /home/udog/udog-icons/res_1280.png /home/udog/udog-icons/res_1440.png /home/udog/udog-icons/res_1920.png '/home/udog/udog-icons/res_576 - Kopie.png' '/home/udog/udog-icons/res_704 - Kopie.png' /home/udog/udog-icons/res_704.png '/home/udog/udog-icons/res_720 - Kopie.png' /home/udog/udog-icons/res_720.png /home/udog/udog-icons/res_hd.png /home/udog/udog-icons/res_sd.png /home/udog/udog-icons/rot.png /home/udog/udog-icons/start.jpg /home/udog/udog-icons/update_avail_gray.png /home/udog/udog-icons/update_avail.png /home/udog/ni-buildsystem/root/share/tuxbox/neutrino/icons/
+ cp -a /home/udog/udog-update/update.urls /home/udog/ni-buildsystem/root/var/etc/
+ cp -a /home/udog/udog-conf/neutrino.conf /home/udog/udog-conf/satellites.xml /home/udog/udog-conf/zapit /home/udog/ni-buildsystem/root/var/tuxbox/config/
+ set +x
exec local stop goodies ...
udog@ubuntu:~/ni-buildsystem$