upgrade: enable serial debugging at upgrade mode 99/99799/1
authorSunmin Lee <sunm.lee@samsung.com>
Thu, 24 Nov 2016 05:51:55 +0000 (14:51 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Thu, 24 Nov 2016 05:51:55 +0000 (14:51 +0900)
Enable serial debugging during the system-update status

Change-Id: Ib81ac55cfb4e6ad4fe3fc3c2a13365b53d79db88
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
packaging/system-plugin.spec

index 318b559..f16d192 100644 (file)
@@ -185,6 +185,7 @@ install -m 644 units/offline-update.service %{buildroot}%{_unitdir}
 ln -s ../init-update.service %{buildroot}%{_unitdir}/system-update.target.wants/init-update.service
 ln -s %{_datadir}/upgrade %{buildroot}/system-update
 install -m 644 rules/99-sdb-switch.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
+ln -s ../getty.target %{buildroot}%{_unitdir}/system-update.target.wants
 
 # ivi
 install -m 755 scripts/usb_net_init.sh %{buildroot}%{_bindir}
@@ -306,6 +307,7 @@ mv %{_sysconfdir}/fstab_lazymnt %{_sysconfdir}/fstab
 %{_unitdir}/init-update.service
 #%{_unitdir}/system-update.target.wants/offline-update.service
 %{_unitdir}/system-update.target.wants/init-update.service
+%{_unitdir}/system-update.target.wants/getty.target
 /system-update
 %{_prefix}/lib/udev/rules.d/99-sdb-switch.rules