Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
dracut
0087-95dasd_rules-Auto-generate-udev-rule-for-i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch of Package dracut
From 96af5adcdc4ec9bdbaff4dc053f415060eee301a Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Thu, 26 Jun 2014 14:04:19 +0200 Subject: 95dasd_rules: Auto-generate udev rule for ipl device We should be generating a udev rule for the ipl device; it'll be enabled anyway. Signed-off-by: Hannes Reinecke <hare@suse.de> --- modules.d/95dasd_rules/parse-dasd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules.d/95dasd_rules/parse-dasd.sh b/modules.d/95dasd_rules/parse-dasd.sh index 43ca87a..7b6a3d2 100755 --- a/modules.d/95dasd_rules/parse-dasd.sh +++ b/modules.d/95dasd_rules/parse-dasd.sh @@ -44,6 +44,15 @@ ACTION=="add", ENV{COLLECT_$ccw}=="0", ATTR{[ccw/$ccw]online}="1" EOF } +if [[ -f /sys/firmware/ipl/ipl_type && + $(</sys/firmare/ipl/ipl_type) = "ccw" ]] ; then + ( + local _ccw=$(cat /sys/firmware/ipl/device) + + create_udev_rule $_ccw + ) +fi + for dasd_arg in $(getargs root=) $(getargs resume=); do ( case $dasd_arg in -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor