How do I create a Fedora 23 ISO with broadcom-wl preinstalled?

asked 2016-02-23 00:31:24 +0000

updated 2016-02-23 05:41:23 +0000

I would like to create a Fedora KDE spin ISO on which broadcom-wl is preinstalled, so that the live session automatically connects to the Wi-Fi as soon as I enter my Wi-Fi credentials. Now I know that running:

wget http://git.io/vuLC7 -v -O fedora23_broadcom_wl_install.sh && sh ./fedora23_broadcom_wl_install.sh;

will install broadcom-wl on an existing Fedora 23 system with an Internet connection. But I would like to create an ISO on which broadcom-wl is pre-installed so that the live session will automatically connect to the Wi-Fi as soon as I provide the necessary credentials (like my SSID and WPA). Now my present OS (on which I would like to create a live ISO) is openSUSE Tumbleweed. I have a Fedora 23 VirtualBox VM, if that may help in creating a live ISO.

EDIT: I've been looking into alternate methods for installing broadcom-wl (like via rpmfusion), if you know how to create a live ISO for Fedora's KDE spin with broadcom-wl installed via one of these alternate methods I will be more than willing to accept your answer. The method mentioned earlier in this post is just an example method for installing broadcom-wl that I know works from experience, alternate methods are welcomed too.

Here are the kickstart files I have been attempting to use to create such an ISO, by following this guide at the Fedora Wiki. The rpmfusion nonfree repo I've been trying to use to get the broadcom-wl package does not seem to be suitable for F23, based on this error message I am getting in my F23 VM:

Using title 'Fedora Wl' and product 'Fedora Wl'
/usr/lib/python2.7/site-packages/pykickstart/commands/partition.py:330: UserWarning: A partition with the mountpoint / has already been defined.
  warnings.warn(_("A partition with the mountpoint %s has already been defined.") % pd.mountpoint)
Extending sparse file /var/tmp/imgcreate-gL8TgM/tmp-PM_yoJ/ext3fs.img to 6442450944
Losetup add /dev/loop0 mapping to /var/tmp/imgcreate-gL8TgM/tmp-PM_yoJ/ext3fs.img
Formating ext4 filesystem on /dev/loop0
['/sbin/mkfs.ext4', '-F', '-L', '_fedora-wl-kde', '-m', '1', '-b', '4096', '/dev/loop0']
Tuning filesystem on /dev/loop0
Extending sparse file /var/tmp/imgcreate-gL8TgM/tmp-PM_yoJ/ext3fs.img to 6442450944
Mounting /dev/loop0 at /var/tmp/imgcreate-gL8TgM/install_root
Retrieving http://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 ...OK
Retrieving http://fedora.uberglobalmirror.com/fedora/linux/releases/23/Everything/x86_64/os/repodata/repomd.xml ...OK
Retrieving http://fedora.uberglobalmirror.com/fedora/linux/releases/23/Everything/x86_64/os/repodata/86a9c4f451ecfec1633638a477b6acef805fd6606978c7bd3c67434034f915a8-comps-f23.xml.xz ...OK
Retrieving http://fedora.uberglobalmirror.com/fedora/linux/releases/23/Everything/x86_64/os/repodata/a3ad8eb36b5764080bcb197440466ac173a17d160f5c00f9da2aa7bfa15c36ff-primary.sqlite.xz ...OK
Retrieving http://ucmirror.canterbury.ac.nz/linux/rpmfusion/nonfree/fedora/development/23/x86_64/os/repodata/repomd.xml ...OK
Retrieving http://ucmirror.canterbury.ac.nz/linux/rpmfusion/nonfree/fedora/development/23/x86_64/os/repodata/primary.sqlite.bz2 ...OK
Retrieving http://mirrors.fedoraproject.org/metalink?repo=updates-released-f23&arch=x86_64 ...OK
Retrieving http://fedora.uberglobalmirror.com/fedora/linux/updates/23/x86_64/repodata/repomd.xml ...OK
Retrieving http://fedora.uberglobalmirror ...
(more)
edit retag flag offensive close merge delete

Comments

An alternative to consider, but it’s pretty cheap (~$15) to replace a Broadcom wifi module with a more compatible Intel module. That way you wouldn’t need a custom ISO to use with Fedora – or any other distro for that matter.

Aeyoun ( 2016-02-23 08:18:21 +0000 )edit

Sure if I don't mind wrecking my warranty.

Brenton Horne ( 2016-12-16 05:15:15 +0000 )edit

Ah. You live in a country with poor consumer protection laws? That sucks. It’s a serviceable part in most laptops (standard modules, you know) that is designed to be replaced. You should be fine, but check with your vendor.

Aeyoun ( 2016-12-16 06:06:16 +0000 )edit