debian: Add default configuration for acrnlog
Tracked-On: #6688 Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
parent
4c37d72bdc
commit
f0b3adc501
|
@ -12,3 +12,4 @@ lib/systemd/system/acrnprobe.service
|
|||
lib/systemd/system/usercrash.service
|
||||
usr/share/defaults/telemetrics/acrnprobe.xml
|
||||
usr/share/acrn/scripts/*
|
||||
etc/default/acrnlog
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# Customizations for the acrnlog.service systemd unit
|
||||
# e.g. ACRNLOG_ARGS="-n 8 -s 4"
|
||||
ACRNLOG_ARGS=""
|
||||
|
|
@ -297,7 +297,12 @@ override_dh_auto_install-arch:
|
|||
misc/debug_tools/acrn_crashlog/data/acrnprobe.xml; \
|
||||
install -d $(DESTDIR)$(datadir)/acrn/scripts; \
|
||||
cp -a misc/debug_tools/acrn_trace/scripts/* \
|
||||
$(DESTDIR)$(datadir)/acrn/scripts \
|
||||
$(DESTDIR)$(datadir)/acrn/scripts; \
|
||||
install -d $(DESTDIR)$(sysconfdir)/default; \
|
||||
cp debian/acrnlog/acrnlog.default \
|
||||
$(DESTDIR)$(sysconfdir)/default/acrnlog; \
|
||||
sed -i -e 's#ExecStart=.*#EnvironmentFile=$(sysconfdir)/default/acrnlog\nExecStart=$(bindir)/acrnlog $${ACRNLOG_ARGS}#' \
|
||||
$(DESTDIR)$(systemd_unitdir)/system/acrnlog.service \
|
||||
)
|
||||
|
||||
### binary-indep #############################################################
|
||||
|
|
Loading…
Reference in New Issue