From aed57671cf877c9c95b1d9365af627a233bbb71b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Thu, 2 May 2019 12:16:08 +0200
Subject: [PATCH] lists: migrate3x: try to also update base-files

---
 lists/migrate3x.lua | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lists/migrate3x.lua b/lists/migrate3x.lua
index d4b388239..90fd18141 100644
--- a/lists/migrate3x.lua
+++ b/lists/migrate3x.lua
@@ -36,7 +36,7 @@ if not version_match or not self_version or version_match(self_version, "<63.0")
 
 	Package('updater-ng', {
 		replan = 'immediate',
-		deps = { 'libgcc', 'tos3to4-early' }
+		deps = { 'libgcc', 'tos3to4-early', 'base-files' }
 	})
 	--[[
 	Updater package does not depend on libgcc but it requires it and dependency
@@ -45,6 +45,10 @@ if not version_match or not self_version or version_match(self_version, "<63.0")
 	We added additional dependency in form of package tos3to4-early which contains
 	script to migrate updater configuration. That means that when new updater is
 	being installed the configuration is also migrated at the same time.
+
+	Additional dependency on base-files is there to ensure that all packages are
+	updaed with new base-files. Primarilly new /lib/functions.sh and
+	/etc/services_wanted.
 	]]
 
 end
-- 
GitLab