From 0bbedd47c05fe144e62ae300658073e8b3adecb8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 21 Nov 2017 11:59:11 +0000 Subject: [PATCH] mltools: Move urandom module to common/mltools. So that we can use it in virt-v2v code. --- common/mltools/Makefile.am | 4 +++- {customize => common/mltools}/urandom.ml | 0 {customize => common/mltools}/urandom.mli | 0 customize/Makefile.am | 4 +--- 4 files changed, 4 insertions(+), 4 deletions(-) rename {customize => common/mltools}/urandom.ml (100%) rename {customize => common/mltools}/urandom.mli (100%) diff --git a/common/mltools/Makefile.am b/common/mltools/Makefile.am index 921d1f00a..9a3edab90 100644 --- a/common/mltools/Makefile.am +++ b/common/mltools/Makefile.am @@ -35,6 +35,7 @@ SOURCES_MLI = \ regedit.mli \ registry.mli \ tools_utils.mli \ + urandom.mli \ URI.mli \ xpath_helpers.mli @@ -48,7 +49,8 @@ SOURCES_ML = \ JSON.ml \ curl.ml \ checksums.ml \ - xpath_helpers.ml + xpath_helpers.ml \ + urandom.ml SOURCES_C = \ ../options/decrypt.c \ diff --git a/customize/urandom.ml b/common/mltools/urandom.ml similarity index 100% rename from customize/urandom.ml rename to common/mltools/urandom.ml diff --git a/customize/urandom.mli b/common/mltools/urandom.mli similarity index 100% rename from customize/urandom.mli rename to common/mltools/urandom.mli diff --git a/customize/Makefile.am b/customize/Makefile.am index 2d358e293..5fa176341 100644 --- a/customize/Makefile.am +++ b/customize/Makefile.am @@ -48,8 +48,7 @@ SOURCES_MLI = \ SELinux_relabel.mli \ ssh_key.mli \ subscription_manager.mli \ - timezone.mli \ - urandom.mli + timezone.mli # This list must be in dependency order. SOURCES_ML = \ @@ -57,7 +56,6 @@ SOURCES_ML = \ crypt.ml \ firstboot.ml \ hostname.ml \ - urandom.ml \ password.ml \ perl_edit.ml \ random_seed.ml \