Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:tsaupe:branches:systemsmanagement:Agama:Staging
s390-tools
s390-tools-ipl-dev-dasd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File s390-tools-ipl-dev-dasd.patch of Package s390-tools
Index: s390-tools-2.31.0/zdev/dracut/95zdev/parse-dasd.sh =================================================================== --- s390-tools-2.31.0.orig/zdev/dracut/95zdev/parse-dasd.sh +++ s390-tools-2.31.0/zdev/dracut/95zdev/parse-dasd.sh @@ -33,7 +33,9 @@ zdev_parse_rd_dasd() { && [[ $(< /sys/firmware/ipl/ipl_type) == "ccw" ]]; then read -r _ccw < /sys/firmware/ipl/device - chzdev --offline --existing --enable --active dasd "$_ccw" + # check if ipl device is a dasd + dasd=$(lsdasd -a $_ccw | sed -n "/$_ccw/p") + [[ -n $dasd ]] && chzdev --offline --existing --enable --active dasd "$_ccw" else for _zdev_dasd in $(getargs rd.dasd -d 'rd_DASD='); do _zdev_dasd_list="${_zdev_dasd_list:+${_zdev_dasd_list},}$_zdev_dasd" Index: s390-tools-2.31.0/zdev/dracut/95zdev/module-setup.sh =================================================================== --- s390-tools-2.31.0.orig/zdev/dracut/95zdev/module-setup.sh +++ s390-tools-2.31.0/zdev/dracut/95zdev/module-setup.sh @@ -70,8 +70,8 @@ install() { local _tempfile # Ensure that required tools are available - inst_multiple chzdev lszdev vmcp /lib/s390-tools/zdev_id - inst_multiple grep + inst_multiple chzdev lszdev lsdasd vmcp /lib/s390-tools/zdev_id + inst_multiple grep cut # Hook to parse zdev kernel parameter inst_hook cmdline 95 "$moddir/parse-zdev.sh"
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