Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1456139 Details for
Bug 1565486
Support early microcode enabled initrd images in VFS
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
uinitrd extfs
uinitrd (text/plain), 1.94 KB, created by
Pavol Šimo
on 2018-07-03 08:11:16 UTC
(
hide
)
Description:
uinitrd extfs
Filename:
MIME Type:
Creator:
Pavol Šimo
Created:
2018-07-03 08:11:16 UTC
Size:
1.94 KB
patch
obsolete
>#!/bin/bash ># ># extfs support for initrd ># Written by Palos <palos@fedoraproject.org> ># ># This program is free software: you can redistribute it and/or modify ># it under the terms of the GNU General Public License as published by ># the Free Software Foundation, either version 3 of the License, or ># (at your option) any later version. ># ># This program is distributed in the hope that it will be useful, ># but WITHOUT ANY WARRANTY; without even the implied warranty of ># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ># GNU General Public License for more details. ># ># You should have received a copy of the GNU General Public License ># along with this program. If not, see <http://www.gnu.org/licenses/>. > >mcuinitrd_list () >{ > if [ $IS_EARLY -eq 0 ]; then > cpio -tv < "$1" 2>/dev/null | awk -e 'BEGIN{print "drwxr-xr-x 1 root root 2 Jan 1 01:01 early_cpio"};$9!="."{printf("%s %3s %8s %8s %10s %s %2s %s early_cpio/%s\n", $1, $2, $3, $4, $5, $6, $7, $8, $9)};' > /usr/lib/dracut/skipcpio "$1" | zcat | cpio -tv 2>/dev/null > else > zcat "$1" | cpio -tv 2>/dev/null > fi >} > >mcuinitrd_copyout () >{ > if [ $IS_EARLY -eq 0 ]; then > if [ "${2%%/*}" = "early_cpio" ]; then > cpio -i --to-stdout "${2#early_cpio/}" < "$1" > "$3" 2>/dev/null > else > /usr/lib/dracut/skipcpio "$1" | zcat | cpio -i --to-stdout "$2" > "$3" 2>/dev/null > fi > else > zcat "$1" | cpio -i --to-stdout "$2" > "$3" 2>/dev/null > fi >} > >export LC_DATE=C >umask 077 > >if [ ! -x /usr/lib/dracut/skipcpio ]; then > echo "Error: could not find skipcpio from dracut distribution" >&2 > exit 1 >fi > >cmd="$1" >shift > >file "$1" | grep -iq "cpio archive" && cpio -t < "$1" 2>/dev/null | egrep -q '^early_cpio$' >IS_EARLY=$? > >case "$cmd" in > list) mcuinitrd_list "$@" | sort -k 8 ;; > copyout) mcuinitrd_copyout "$@" ;; ># copyin) mcuinitrd_copyin "$@" ;; ># mkdir) mcuinitrd_mkdir "$@" ;; ># rm) mcuinitrd_rm "$@" ;; ># rmdir) mcuinitrd_rmdir "$@" ;; > *) exit 1 ;; >esac >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1565486
: 1456139