From c41216a7825ab1186f01361df411c7c4abd26e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 13 Apr 2015 17:21:07 +0100 Subject: morphlib/builder.py: Add comment, os-release is now generated as an extension Do not remove this code for now as its possible that new versions of morph build old sytems without the install-essential-files extension Change-Id: I5e49d0bc6baee73bedf16469d922822e76286bc1 --- morphlib/builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/morphlib/builder.py b/morphlib/builder.py index 1c016674..8caaaf39 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -626,6 +626,8 @@ class SystemBuilder(BuilderBase): # pragma: no cover def write_metadata(self, instdir, artifact_name): BuilderBase.write_metadata(self, instdir, artifact_name) + # This code is here only for compatibility reasons + # Use the new install-essential-files configure extension instead os_release_file = os.path.join(instdir, 'etc', 'os-release') dirname = os.path.dirname(os_release_file) if not os.path.exists(dirname): -- cgit v1.2.1