|
@@ -68,17 +68,15 @@ endef
|
|
OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_REMOVE_UNNEEDED
|
|
OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_REMOVE_UNNEEDED
|
|
|
|
|
|
ifeq ($(BR2_TARGET_GENERIC_GETTY),y)
|
|
ifeq ($(BR2_TARGET_GENERIC_GETTY),y)
|
|
-OPENRC_GETTY_SVCNAME = getty.$(SYSTEM_GETTY_PORT)
|
|
|
|
|
|
+OPENRC_GETTY_SVCNAME = agetty.$(SYSTEM_GETTY_PORT)
|
|
OPENRC_GETTY_CONF_D = $(TARGET_DIR)/etc/conf.d/$(OPENRC_GETTY_SVCNAME)
|
|
OPENRC_GETTY_CONF_D = $(TARGET_DIR)/etc/conf.d/$(OPENRC_GETTY_SVCNAME)
|
|
define OPENRC_SET_GETTY
|
|
define OPENRC_SET_GETTY
|
|
{ \
|
|
{ \
|
|
echo "baud=\"$(SYSTEM_GETTY_BAUDRATE)\""; \
|
|
echo "baud=\"$(SYSTEM_GETTY_BAUDRATE)\""; \
|
|
echo "term_type=\"$(SYSTEM_GETTY_TERM)\"" ; \
|
|
echo "term_type=\"$(SYSTEM_GETTY_TERM)\"" ; \
|
|
- echo "getty_options=\"-L $(SYSTEM_GETTY_OPTIONS)\""; \
|
|
|
|
|
|
+ echo "agetty_options=\"-L $(SYSTEM_GETTY_OPTIONS)\""; \
|
|
} > $(OPENRC_GETTY_CONF_D)
|
|
} > $(OPENRC_GETTY_CONF_D)
|
|
- $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/getty \
|
|
|
|
- $(TARGET_DIR)/etc/init.d/getty
|
|
|
|
- ln -sf getty $(TARGET_DIR)/etc/init.d/$(OPENRC_GETTY_SVCNAME)
|
|
|
|
|
|
+ ln -sf agetty $(TARGET_DIR)/etc/init.d/$(OPENRC_GETTY_SVCNAME)
|
|
ln -sf /etc/init.d/$(OPENRC_GETTY_SVCNAME) \
|
|
ln -sf /etc/init.d/$(OPENRC_GETTY_SVCNAME) \
|
|
$(TARGET_DIR)/etc/runlevels/default/$(OPENRC_GETTY_SVCNAME)
|
|
$(TARGET_DIR)/etc/runlevels/default/$(OPENRC_GETTY_SVCNAME)
|
|
endef
|
|
endef
|