Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Ximper Linux
mkimage-profiles
Commits
d813c431
Commit
d813c431
authored
Dec 14, 2017
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build-vm: spare all gettys on e2k
It has no VM hypervisor so far, the images are intended for bare metal execution.
parent
6aa4af20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
04-inittab
features.in/build-vm/image-scripts.d/04-inittab
+2
-0
No files found.
features.in/build-vm/image-scripts.d/04-inittab
View file @
d813c431
#!/bin/sh -e
# we don't need no extra gettys in VMs
[
-s
/etc/inittab
]
||
exit
0
# ...except when it's a real disk image, not a VM for sure
[
`
arch
`
=
e2k
]
&&
exit
0
sed
-i
's,^[3-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,'
/etc/inittab
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