Commit 77e80ef0 authored by Anton Midyukov's avatar Anton Midyukov

oem: Add use/oem/install target

This target needed for alterator-setup (pkg step). Also added preinstall and eth-net steps.
parent 07525d72
......@@ -9,6 +9,7 @@ use/oem: use/services use/branding
@$(call xport,OEM_TARGET)
@$(call xport,OEM_NO_CLEANUP)
@$(call xport,OEM_STEPS)
@$(call xport,OEM_INSTALL)
use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
@$(call add,THE_PACKAGES,alterator-setup-x11vnc)
......@@ -18,3 +19,9 @@ use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
use/oem/no-cleanup: use/oem
@$(call set,OEM_NO_CLEANUP,yes)
use/oem/install: use/oem use/repo/main
@$(call set,OEM_INSTALL,yes)
@$(call try,OEM_STEPS,sysconfig notes-license datetime pkg \
preinstall net-eth root users setup-finish)
@$(call add,THE_PACKAGES,alterator-pkg alterator-net-eth)
all: $(GLOBAL_DEBUG) $(OEM_INSTALL:%=oem-install)
oem-install:
@git archive HEAD:pkg > files/.install3.tar
......@@ -21,4 +21,10 @@ if [ -n "$GLOBAL_OEM_STEPS" ]; then
done
fi
if [ -n "$GLOBAL_OEM_INSTALL" ]; then
mkdir -p /var/lib/install3
tar -xf /.install3.tar -C /var/lib/install3/
rm /.install3.tar
fi
:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment