diff --git a/Makefile b/Makefile index 50a0f0e..868acca 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,8 @@ lorax_templates/%.tmpl: lorax_templates/%.tmpl.in # Step 3: Build boot.iso using Lorax boot.iso: $(_LORAX_TEMPLATES) $(_REPO_FILES) - rm -Rf $(_BASE_DIR)/results + rm -Rf $(_BASE_DIR)/results || true + rm /etc/rpm/macros.image-language-conf || true lorax -p $(IMAGE_NAME) -v $(VERSION) -r $(VERSION) -t $(VARIANT) \ --isfinal --squashfs-only --buildarch=$(ARCH) --volid=$(_VOLID) \ $(_LORAX_ARGS) \ diff --git a/lorax_templates/disable_localization.tmpl.in b/lorax_templates/disable_localization.tmpl.in deleted file mode 100644 index c1e1e4f..0000000 --- a/lorax_templates/disable_localization.tmpl.in +++ /dev/null @@ -1,2 +0,0 @@ -append /etc/anaconda/conf.d/disable_localization.conf "[Localization]" -append /etc/anaconda/conf.d/disable_localization.conf "use_geolocation = False" \ No newline at end of file