-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathraspberry-autoconf.sh
More file actions
executable file
·81 lines (61 loc) · 2.71 KB
/
raspberry-autoconf.sh
File metadata and controls
executable file
·81 lines (61 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
WKDIR="$(pwd)"
# step 5 : creating the necessary foulders in the chroot environment
mkdir -p -v /usr/share/neutrixOS
mkdir -p -v /etc/skel/.config
mkdir -p -v /usr/share/images/desktop-base
mkdir -p -v /usr/share/icons/default
mkdir -p -v /usr/share/backgrounds
mkdir -p -v /usr/local/bin
mkdir -p -v /usr/share/applications
mkdir -p -v $WKDIR/neutrixOS/config/hooks/normal
mkdir -p -v /usr/share/doc/neutrixOS
mkdir -p -v /etc/skel/Desktop
# create config themes and icons
mkdir -p -v /etc/skel/.themes
mkdir -p -v /etc/skel/.icons
echo
#
# step 6: - Copy files into the chroot
#
# copy themes and icons themes
cp -r -f -v $WKDIR/neutrixBuster/themes/* /etc/skel/.themes/
cp -r -f -v $WKDIR/neutrixBuster/icon-themes/* /etc/skel/.icons/
# copy deb packages
cp -r -f -v $WKDIR/neutrixBuster/thirdParty/* $WKDIR/neutrixOS/config/packages.chroot/
cp -r -f -v $WKDIR/neutrixBuster /usr/share/neutrixOS/neutrixBuster
cp -r -f -v $WKDIR/neutrixBuster/bootloaders $WKDIR/neutrixOS/config/bootloaders
cp -r -f -v $WKDIR/neutrixBuster/hooks/* $WKDIR/neutrixOS/config/hooks/normal/
cp -r -f -v $WKDIR/neutrixBuster/scripts/* /usr/local/bin/
cp -r -f -v $WKDIR/neutrixBuster/doc/* /usr/share/doc/neutrixOS/
cp -r -f -v $WKDIR/neutrixBuster/backgrounds/* /usr/share/images/desktop-base/
cp -r -f -v $WKDIR/neutrixBuster/backgrounds/* /usr/share/backgrounds/
cp -r -f -v $WKDIR/neutrixBuster/icons/* /usr/share/icons/default/
cp -r -f -v $WKDIR/neutrixBuster/launchers/ezadmin.desktop /usr/share/applications/
ln -s /usr/share/doc/neutrixOS /etc/skel/Desktop/
# create folder for lightdm config
mkdir -p -v /etc/lightdm
# create a folder for autostart applications
mkdir -p -v /etc/skel/.config/autostart
# Packages for xfce desktop customization
sudo apt install appmenu-gtk-module-common \
appmenu-gtk2-module appmenu-gtk3-module \
vala-panel vala-panel-appmenu \
xfce4-appmenu-plugin libgnome-menu-3-0 \
gnome-menus synapse \
numix-gtk-theme greybird-gtk-theme \
breeze-icon-theme breeze-gtk-theme
# copy xfce configuratioon files
cp -r -f -v $WKDIR/neutrixBuster/xfce4 /etc/skel/.config/xfce4
cp -r -f -v $WKDIR/neutrixBuster/plank /etc/skel/.config/plank
cp -r -f -v $WKDIR/neutrixBuster/synapse /etc/skel/.config/synapse
# copy startup applications desktop
cp -r -f -v $WKDIR/neutrixBuster/autostart/* /etc/skel/.config/autostart/
#copy lightdm configuration files
cp -r -f -v $WKDIR/neutrixBuster/lightdm/* /etc/lightdm/
#TODO add misc64 deb packages include in the chroot environment
# step 7 starting the build process
sudo apt install plank gnome-dictionary \
evince okular galculator \
gnome-chess libreoffice verbiste \
vlc htop \
simple-scan remmina neofetch