From 11dd240272b95a778236b3fa4c9efd0b74c71fe5 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Tue, 22 Jan 2013 12:24:50 +0000 Subject: [PATCH] make sure /etc/xcat exists before xCAT-genesis-scripts tries to touch a file there git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-scripts/xCAT-genesis-scripts.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-genesis-scripts/xCAT-genesis-scripts.spec b/xCAT-genesis-scripts/xCAT-genesis-scripts.spec index 0c5abd353..4ef82613c 100644 --- a/xCAT-genesis-scripts/xCAT-genesis-scripts.spec +++ b/xCAT-genesis-scripts/xCAT-genesis-scripts.spec @@ -68,6 +68,7 @@ cd - # should run mknb. Tried to use rpm triggers, but in several cases the trigger would # get run multiple times. #echo "touching /etc/xcat/genesis-scripts-updated" +mkdir -p /etc/xcat touch /etc/xcat/genesis-scripts-updated