Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-system-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-system-image
Commits
61584e6c
Commit
61584e6c
authored
4 years ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
userland: create typical dirs in skel; enable reform-hw-setup.service
parent
9595038d
No related branches found
No related tags found
1 merge request
!12
RC1 of MNT Reform System Image and Rescue Image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reform2-imx8mq/mkuserland.sh
+12
-2
12 additions, 2 deletions
reform2-imx8mq/mkuserland.sh
with
12 additions
and
2 deletions
reform2-imx8mq/mkuserland.sh
+
12
−
2
View file @
61584e6c
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment