Skip to content
Snippets Groups Projects
Commit 61584e6c authored by minute's avatar minute
Browse files

userland: create typical dirs in skel; enable reform-hw-setup.service

parent 9595038d
No related branches found
No related tags found
1 merge request!12RC1 of MNT Reform System Image and Rescue Image
...@@ -22,16 +22,22 @@ cp $ETC/asound.state target-userland/var/lib/alsa/ ...@@ -22,16 +22,22 @@ cp $ETC/asound.state target-userland/var/lib/alsa/
# populate root user and skel # populate root user and skel
cp -RavT $SKEL target-userland/root/ cp -RavT $SKEL target-userland/root/
cp -RavT $SKEL target-userland/etc/skel/ cp -RavT $SKEL target-userland/etc/skel/
mkdir -p target-userland/etc/skel/Desktop
mkdir -p target-userland/etc/skel/Documents
mkdir -p target-userland/etc/skel/Downloads
mkdir -p target-userland/etc/skel/Music
mkdir -p target-userland/etc/skel/Pictures
mkdir -p target-userland/etc/skel/Videos
# populate /etc # populate /etc
cp $ETC/ld.so.conf target-userland/etc # or our libraries won't be picked up cp $ETC/ld.so.conf target-userland/etc # or our libraries won't be picked up
cp $ETC/resolv.conf target-userland/etc cp $ETC/resolv.conf target-userland/etc
mkdir -p target-userland/etc/dhcp mkdir -p target-userland/etc/dhcp
cp $ETC/dhclient.conf target-userland/etc/dhcp cp $ETC/dhclient.conf target-userland/etc/dhcp
cp $ETC/motd* target-userland/etc cp $ETC/motd target-userland/etc
cp $ETC/reform* target-userland/etc
cp $ETC/hostname target-userland/etc cp $ETC/hostname target-userland/etc
cp $ETC/hosts target-userland/etc cp $ETC/hosts target-userland/etc
cp $ETC/reform-* target-userland/etc
# copy pulse config files that will be moved inside the target fs later # copy pulse config files that will be moved inside the target fs later
cp $ETC/pulse/* target-userland/ cp $ETC/pulse/* target-userland/
...@@ -80,6 +86,10 @@ apt install -y sway grim slurp xwayland xterm xfce4-terminal rofi arc-theme thun ...@@ -80,6 +86,10 @@ apt install -y sway grim slurp xwayland xterm xfce4-terminal rofi arc-theme thun
mv /analog-input-reform.conf /usr/share/pulseaudio/alsa-mixer/paths/ mv /analog-input-reform.conf /usr/share/pulseaudio/alsa-mixer/paths/
mv /default.conf /usr/share/pulseaudio/alsa-mixer/profile-sets/ mv /default.conf /usr/share/pulseaudio/alsa-mixer/profile-sets/
# move hardware setup one-shot service in place
mv /etc/reform-hw-setup.service /etc/systemd/system/
systemctl enable reform-hw-setup.service
# install applications # install applications
apt install -y libreoffice libreoffice-gtk3 inkscape firefox-esr emacs gimp wmaker apt install -y libreoffice libreoffice-gtk3 inkscape firefox-esr emacs gimp wmaker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment