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 581139 Details for
Bug 740280
/dev/live no longer exists
[?]
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.
[patch]
Substitute /run/initramfs/live for /mnt/live.
mntlive.patch (text/plain), 2.67 KB, created by
Frederick Grose
on 2012-04-30 04:19:41 UTC
(
hide
)
Description:
Substitute /run/initramfs/live for /mnt/live.
Filename:
MIME Type:
Creator:
Frederick Grose
Created:
2012-04-30 04:19:41 UTC
Size:
2.67 KB
patch
obsolete
>commit e2a04b06093fcea1b0c6ecfc59847adc08d08137 >Author: Frederick Grose <fgrose@sugarlabs.org> >Date: Mon Apr 30 00:03:02 2012 -0400 > > Substitute /run/initramfs/live for /mnt/live. > > This is needed to enable mounting of home.img and swap.img in > Fedora 17 LiveOS installations. > >diff --git a/fedora-live-base.ks b/fedora-live-base.ks >index 0b14fec..54df915 100644 >--- a/fedora-live-base.ks >+++ b/fedora-live-base.ks >@@ -88,12 +88,6 @@ touch /.liveimg-configured > # Make sure we don't mangle the hardware clock on shutdown > ln -sf /dev/null /etc/systemd/system/hwclock-save.service > >-# mount live image >-if [ -b \`readlink -f /dev/live\` ]; then >- mkdir -p /mnt/live >- mount -o ro /dev/live /mnt/live 2>/dev/null || mount /dev/live /mnt/live >-fi >- > livedir="LiveOS" > for arg in \`cat /proc/cmdline\` ; do > if [ "\${arg##live_dir=}" != "\${arg}" ]; then >@@ -109,8 +103,9 @@ if ! strstr "\`cat /proc/cmdline\`" noswap && [ -n "\$swaps" ] ; then > action "Enabling swap partition \$s" swapon \$s > done > fi >-if ! strstr "\`cat /proc/cmdline\`" noswap && [ -f /mnt/live/\${livedir}/swap.img ] ; then >- action "Enabling swap file" swapon /mnt/live/\${livedir}/swap.img >+if ! strstr "$(cat /proc/cmdline)" noswap && >+ [[ -f /run/initramfs/live/${livedir}/swap.img ]] ; then >+ action "Enabling swap file" swapon /run/initramfs/live/${livedir}/swap.img > fi > > mountPersistentHome() { >@@ -125,8 +120,8 @@ mountPersistentHome() { > mountopts="-t jffs2" > elif [ ! -b "\$homedev" ]; then > loopdev=\`losetup -f\` >- if [ "\${homedev##/mnt/live}" != "\${homedev}" ]; then >- action "Remounting live store r/w" mount -o remount,rw /mnt/live >+ if [[ ${homedev##/run/initramfs/live} != ${homedev} ]]; then >+ action "Remounting live store r/w" mount -o remount,rw /run/initramfs/live > fi > losetup \$loopdev \$homedev > homedev=\$loopdev >@@ -160,8 +155,8 @@ findPersistentHome() { > > if strstr "\`cat /proc/cmdline\`" persistenthome= ; then > findPersistentHome >-elif [ -e /mnt/live/\${livedir}/home.img ]; then >- homedev=/mnt/live/\${livedir}/home.img >+elif [[ -e /run/initramfs/live/${livedir}/home.img ]]; then >+ homedev=/run/initramfs/live/${livedir}/home.img > fi > > # if we have a persistent /home, then we want to go ahead and mount it >@@ -220,7 +215,7 @@ if strstr "\`cat /proc/cmdline\`" CDLABEL= ; then > # io errors due to not being able to get files... > #cat /sbin/halt > /dev/null > #cat /sbin/reboot > /dev/null >-#/usr/sbin/eject -p -m \$(readlink -f /dev/live) >/dev/null 2>&1 >+#/usr/sbin/eject -p -m \$(readlink -f /run/initramfs/livedev) >/dev/null 2>&1 > #echo "Please remove the CD from your drive and press Enter to finish restarting" > #read -t 30 < /dev/console > FOE
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 740280
:
573850
|
573985
| 581139 |
583372