Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ready-set-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Жора Змейкин
ready-set-service
Commits
ccf85643
Commit
ccf85643
authored
May 26, 2025
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add post script
parent
211060c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
Makefile
Makefile
+1
-0
ready-set-post.sh
ready-set-post.sh
+7
-0
ready-set-service
ready-set-service
+4
-4
No files found.
Makefile
View file @
ccf85643
...
...
@@ -18,3 +18,4 @@ install_common:
install
-p
-Dm
0755
setup.target
$(DESTDIR)$(UNITDIR)/setup.target
install
-p
-Dm
0755
ready-set-start.sh
$(DESTDIR)$(DATADIR)/ready-set-service/ready-set-start.sh
install
-p
-Dm
0755
ready-set-post.sh
$(DESTDIR)$(DATADIR)/ready-set-service/ready-set-post.sh
ready-set-post.sh
0 → 100755
View file @
ccf85643
#!/bin/bash
subst
's/ systemd\.unit=setup\.target//g'
/etc/sysconfig/grub2
update-grub
rm
-rf
/run/user/0/
reboot
ready-set-service
View file @
ccf85643
#!/bin/bash
datadir
=
/usr/share/ready-set-service
mkdir
-p
/run/user/0
chmod
700 /run/user/0
export
XDG_RUNTIME_DIR
=
/run/user/0
# export WAYLAND_DISPLAY=wayland-1
cage
/usr/share/ready-set-service
/ready-set-start.sh
&&
cage
$datadir
/ready-set-start.sh
&&
# weston -- /usr/share/ready-set-service/ready-set-start.sh &&
# phoc -C /usr/share/phosh/phoc.ini -E /usr/share/ready-set-service/ready-set-start.sh &&
rm
-rf
/run/user/0/
reboot
$datadir
/ready-set-post.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment