Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
dracut
> 0126-dmsquash-live-depend-on-dm-module.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0126-dmsquash-live-depend-on-dm-module.patch of Package dracut
From 711e599ee3a6f02490538d5367e1386b64bba11d Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Thu, 8 Jul 2010 16:14:55 +0200 Subject: [PATCH] dmsquash-live: depend on dm module --- modules.d/90dmsquash-live/check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/check b/modules.d/90dmsquash-live/check index 54e5007..ae7306e 100755 --- a/modules.d/90dmsquash-live/check +++ b/modules.d/90dmsquash-live/check @@ -2,7 +2,10 @@ # if dmsetup is not installed, then we cannot support fedora/red hat # style live images -which dmsetup >/dev/null 2>&1 || exit 1 +if [ "$1" = "-d" ]; then + echo dm + exit 0 +fi # a live host-only image doesn't really make a lot of sense if [ "$1" = "-h" ] ; then -- 1.8.3.1