Anton Midyukov 2b4c02fabd repo: Add main repo when first time run 'live'
Since the config was created in live, it remained after installation.
Now the config will be created at the first start of live and only
if /image/ALTLinux/ is present (it will not be available when
bootloading via http or ftp). After installing live, the package will
be deleted and the config will not be created at the first start.
2022-09-24 21:35:55 +07:00

19 lines
402 B
Makefile

use/repo:
@$(call add_feature)
@$(call add,STAGE1_PACKAGES,gnupg)
@$(call try,REPO,http/alt)
@$(call xport,REPO_MAIN)
@$(call xport,REPO)
use/repo/main:: sub/main use/repo
@$(call add,LIVE_PACKAGES,livecd-main-repo)
ifeq (vm,$(IMAGE_CLASS))
use/repo/main::
@$(call set,REPO_MAIN,1)
@$(call add,THE_PACKAGES,apt-repo-tools)
endif
use/repo/addon: use/repo/main
@$(call set,MAIN_SUFFIX,addon)