-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New script for generation of install.img
- Loading branch information
Showing
20 changed files
with
1,770 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
/install-*.img | ||
/tests/test-results/ | ||
/tests/trash directory.* | ||
|
||
# temporary files during image generation | ||
/rootfs-* | ||
/yum-*.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8.2.updates |
41 changes: 41 additions & 0 deletions
41
installimg/8.2.updates/etc/systemd/system/getty@tty2.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This file is based on the service file from systemd. | ||
|
||
[Unit] | ||
Description=Getty on %I | ||
Documentation=man:agetty(8) man:systemd-getty-generator(8) | ||
Documentation=http://0pointer.de/blog/projects/serial-console.html | ||
After=systemd-user-sessions.service plymouth-quit-wait.service | ||
After=rc-local.service | ||
|
||
# If additional gettys are spawned during boot then we should make | ||
# sure that this is synchronized before getty.target, even though | ||
# getty.target didn't actually pull it in. | ||
Before=getty.target | ||
IgnoreOnIsolate=yes | ||
|
||
# On systems without virtual consoles, don't start any getty. Note | ||
# that serial gettys are covered by serial-getty@.service, not this | ||
# unit. | ||
ConditionPathExists=/dev/tty0 | ||
|
||
[Service] | ||
# the VT is cleared by TTYVTDisallocate | ||
ExecStart=-/sbin/agetty --autologin root --noclear %I | ||
Type=idle | ||
Restart=always | ||
RestartSec=0 | ||
UtmpIdentifier=%I | ||
TTYPath=/dev/%I | ||
TTYReset=yes | ||
TTYVHangup=yes | ||
TTYVTDisallocate=yes | ||
KillMode=process | ||
IgnoreSIGPIPE=no | ||
SendSIGHUP=yes | ||
|
||
# Unset locale for the console getty since the console has problems | ||
# displaying some internationalized messages. | ||
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= | ||
|
||
[Install] | ||
WantedBy=getty.target |
12 changes: 12 additions & 0 deletions
12
installimg/8.2.updates/etc/systemd/system/installer.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=XCP-ng Installer | ||
Requires=systemd-udev-settle.service interface-rename-sideway.service early-blacklist.service | ||
After=systemd-udev-settle.service interface-rename-sideway.service early-blacklist.service getty@tty2.service | ||
|
||
[Service] | ||
Type=forking | ||
SendSIGHUP=yes | ||
ExecStart=/opt/xensource/installer/preinit -- | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
41 changes: 41 additions & 0 deletions
41
installimg/8.3.0/etc/systemd/system/installer-getty@.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This file is based on the service file from systemd. | ||
|
||
[Unit] | ||
Description=Installer Getty on %I | ||
Documentation=man:agetty(8) man:systemd-getty-generator(8) | ||
Documentation=http://0pointer.de/blog/projects/serial-console.html | ||
After=systemd-user-sessions.service plymouth-quit-wait.service | ||
After=rc-local.service | ||
|
||
# If additional gettys are spawned during boot then we should make | ||
# sure that this is synchronized before getty.target, even though | ||
# getty.target didn't actually pull it in. | ||
Before=getty.target | ||
IgnoreOnIsolate=yes | ||
|
||
# On systems without virtual consoles, don't start any getty. Note | ||
# that serial gettys are covered by serial-getty@.service, not this | ||
# unit. | ||
ConditionPathExists=/dev/tty0 | ||
|
||
[Service] | ||
# the VT is cleared by TTYVTDisallocate | ||
ExecStart=-/sbin/agetty --autologin root --noclear %I | ||
Type=idle | ||
Restart=always | ||
RestartSec=0 | ||
UtmpIdentifier=%I | ||
TTYPath=/dev/%I | ||
TTYReset=yes | ||
TTYVHangup=yes | ||
TTYVTDisallocate=yes | ||
KillMode=process | ||
IgnoreSIGPIPE=no | ||
SendSIGHUP=yes | ||
|
||
# Unset locale for the console getty since the console has problems | ||
# displaying some internationalized messages. | ||
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= | ||
|
||
[Install] | ||
WantedBy=getty.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=XCP-ng Installer | ||
Requires=systemd-udev-settle.service interface-rename-sideway.service early-blacklist.service | ||
After=systemd-udev-settle.service interface-rename-sideway.service early-blacklist.service getty@tty2.service | ||
|
||
[Service] | ||
Type=forking | ||
SendSIGHUP=yes | ||
ExecStart=/opt/xensource/installer/preinit -- | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8.3.0 |
Oops, something went wrong.