Initial build setup for x86_64 Stormux.
This commit is contained in:
10
x86_64/airootfs/etc/pacman.d/hooks/00-stormux-repo-key.hook
Normal file
10
x86_64/airootfs/etc/pacman.d/hooks/00-stormux-repo-key.hook
Normal file
@@ -0,0 +1,10 @@
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Description = Adding Stormux repository key...
|
||||
When = PreTransaction
|
||||
Exec = /bin/sh -c 'if [ ! -f /etc/pacman.d/.stormux-key-added ]; then pacman-key --add /usr/share/stormux/stormux_repo.pub && pacman-key --lsign-key 52ADA49000F1FF0456F8AEEFB4CDE1CD56EF8E82 && touch /etc/pacman.d/.stormux-key-added; fi'
|
||||
16
x86_64/airootfs/etc/pacman.d/hooks/stormux-setup.hook
Normal file
16
x86_64/airootfs/etc/pacman.d/hooks/stormux-setup.hook
Normal file
@@ -0,0 +1,16 @@
|
||||
# remove from airootfs!
|
||||
# Stormux system setup hook - creates user, configures services
|
||||
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = filesystem
|
||||
|
||||
[Action]
|
||||
Description = Setting up Stormux user and system configuration...
|
||||
When = PostTransaction
|
||||
Depends = shadow
|
||||
Depends = systemd
|
||||
Depends = sudo
|
||||
Exec = /usr/local/bin/stormux-setup.sh
|
||||
Reference in New Issue
Block a user