Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498986 - dev-util/catalyst-2.0.16 - livecdfs-update.sh generates fstab which mounts tmpfs over full-populated /lib/firmware
Summary: dev-util/catalyst-2.0.16 - livecdfs-update.sh generates fstab which mounts tm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2014-01-23 02:25 UTC by Ben Kohler
Modified: 2014-07-29 01:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2014-01-23 02:25:04 UTC
Newer minimal install isos are still showing symptoms of empty /lib/firmware, and today I realized it's because catalyst is generating an fstab which mounts tmpfs at /lib/firmware so the real files underneath go "missing".

Just commenting this line should be enough to make /lib/firmware work again.  We may also want to evaluate whether the other 2 lines in fstab are necessary or useful to anyone at all, my installcd tests appear to work just fine with empty fstab.


--- a/targets/support/livecdfs-update.sh  2014-01-22 18:15:45.799473785 -0600
+++ b/targets/support/livecdfs-update.sh      2014-01-22 20:22:14.011321334 -0600
@@ -101,7 +101,7 @@
 
 # fstab tweaks
 echo "tmpfs    /                                       tmpfs   defaults        0 0" >> /etc/fstab
-echo "tmpfs    /lib/firmware                   tmpfs   defaults        0 0" >> /etc/fstab
+#echo "tmpfs   /lib/firmware                   tmpfs   defaults        0 0" >> /etc/fstab
 echo "tmpfs    /usr/portage                    tmpfs   defaults        0 0" >> /etc/fstab
 # If /usr/lib/X11/xkb/compiled then make it tmpfs
 if [ -d /usr/lib/X11/xkb/compiled ]
Comment 1 Hao 2014-03-31 11:23:32 UTC
I'm using the March 18th auto builded iso and encountered an empty /lib/firmware which causes wireless doesn't work. I would guess this bug is the reason why.

So how do I fix it?
Comment 2 Hao 2014-03-31 11:47:32 UTC
(In reply to Hao from comment #1)
> I'm using the March 18th auto builded iso and encountered an empty
> /lib/firmware which causes wireless doesn't work. I would guess this bug is
> the reason why.
> 
> So how do I fix it?

After I ask the question on IRC #gentoo, username234 told me that I can unmount /lib/firmware and bang, problem solved.

BTW, Ben Kohler, are you iamben on IRC?
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2014-03-31 15:36:27 UTC
This is fixed in git, getting some testing with some other bugfixes before a new release of catalyst starts producing new media.  It will then have new livecd and stages up for download.

http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=358f05d10873620f01eb6fa0be0baff076b476db
Comment 4 Ben Kohler gentoo-dev 2014-07-29 01:21:31 UTC
This is now in a released catalyst version and the fix has been in our autobuild isos for a while now, closing