ifdef approx
BOOTSTRAP := ${approx}
define SOURCES =
- deb ${approx} stretch main
- deb ${approx} buster main
deb ${approx} ${release} main
endef
else ifdef raspi
else
BOOTSTRAP := http://localhost/debian
define SOURCES :=
- deb http://localhost/debian stretch main
- deb http://localhost/debian buster main
deb http://localhost/debian ${release} main
endef
endif
_config: _approx_restore_sources
_approx_restore_sources: ${CFGROOT}
printf '%s\n' "$${approx_original_sources}" >"$${CFGROOT}/etc/apt/sources.list"
+ -chroot "$${CFGROOT}" apt-get update