b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

General talk about packaging procedures and packages.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by zAchAry »

Don't worry, it's all alright here, I just did what I've done here (+ "upgraded" the package after I reloaded the repository database with gslapt)

My question is, will there be a package for 32-bit parallel to the newly 64-bit?
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by pwatk »

zAchAry wrote:Don't worry, it's all alright here, I just did what I've done here (+ "upgraded" the package after I reloaded the repository database with gslapt)
So everything works ok then?
zAchAry wrote:My question is, will there be a package for 32-bit parallel to the newly 64-bit?
Of course. I only upload one package for which ever architecture I'm using because who ever authorises it (usually gapan) compiles a package for the other architecture anyway.

When I get around to it, I will start uploading both myself to save time.
Image
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by pwatk »

I'm considering using curses menus for the install-b43-firmware script and adding the function to uninstall any existing packages.

I have very little experience with this so it might take a while..
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by zAchAry »

pwatk wrote:So everything works ok then?
Sure ;)
pwatk wrote:I'm considering using curses menus for the install-b43-firmware script and adding the function to uninstall any existing packages.

I have very little experience with this so it might take a while..
I'm not the expert here, so you may do what you feel right :)

How long will it take, though?
Will it postpone the official release time?

Please add a "check" (detection) if a ncurses is available (chances for that are low, but! SalixOS does have its Core Installation mode) and if not, continue with the current script (thus ncurses should be labeled as a Suggests Package and NOT as a Required Dependency Package)
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by pwatk »

On second thoughts I'll probably do this at a later date. I'm going to have to invest more time to it than I first expected.

I'll run with what we've got and see what the response is.

Edit: Package update proposal submitted
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by zAchAry »

Original Text: http://salix.pastebin.com/XHLmHDpC

Steps: (Users with a fresh SalixOS GNU/Linux installation need to start from step G)
A. The packages b43-firmware and b43-fwcutter have been removed
B. WiFi is still working
C. Turning On/Off the b43 entry in "System services"
D. WiFi is not working
E. Restarting the machine
F. WiFi is not working

G. Opening terminal emulator as root

Code: Select all

gksu xfterm4
H. Entering the following two lines

Code: Select all

root[~]# slapt-get -i b43-fwcutter
root[~]# /usr/share/b43-fwcutter/install-b43-firmware.sh
Wifi is working!
Congratulations for a job well done, pwatk.
Last edited by zAchAry on 20. Sep 2010, 21:29, edited 1 time in total.
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by pwatk »

Code: Select all

...
WARNING: File already exist etc/rc.d/rc.b43 (it will be replaced)
WARNING: File already exist etc/rc.d/desc.d/b43.txt (it will be replaced)
Those warmings are produced by installpkg because I disabled dotnew creation (noautodotnew) in the SLKBUILD options.

/etc/rc.d/rc.b43 is the service script I wrote (and you tested) that will load and unload the b43 module as well as disable anything pertaining to the installation of my broadcom-sta package.

/etc/rc.d/desc.d/b43.txt provides the name, description and daemon (if one exists) information for the service and servicesetup tools.

I doubt I'll need to update either of these files now but if I do it will be required and not optional!
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by zAchAry »

I've rewrote my last post.

More tests: click link

Code: Select all

root[~]# lsmod | grep -E "ssb|b43"
b43                   162121  0 
ssb                    40527  1 b43
pcmcia                 27872  2 b43,ssb
mac80211              153050  1 b43
cfg80211              109656  2 b43,mac80211
mmc_core               46926  3 b43,ssb,sdhci
led_class               2037  2 b43,sdhci
root[~]# 

Code: Select all

root[~]# /etc/rc.d/rc.b43 start
Loading b43 (Broadcom) wireless module: /sbin/modprobe b43
root[~]# /etc/rc.d/rc.b43 start
Loading b43 (Broadcom) wireless module: /sbin/modprobe b43
root[~]# 

Code: Select all

root[~]# /etc/rc.d/rc.b43 restart
Unloading b43 (Broadcom) wireless module: /sbin/modprobe -r b43
Loading b43 (Broadcom) wireless module: /sbin/modprobe b43
root[~]# 

Code: Select all

root[~]# /etc/rc.d/rc.b43 status
/etc/rc.d/rc.b43: `b43' module loaded
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by pwatk »

YAY 8-) :D :mrgreen: :ugeek:

ImageImageImageImage


@zAchAry: Well it wasn't my hundredth or even two hundredth post but I thought "what the well" :P
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: b43-fwcutter-013-i486-1pw.txz + SLKBUILD for b43-firmware

Post by zAchAry »

LOL! That was awesome!

If everything is working properly then please visit the b43 IRC channel and
ask psycho_oreos to add the instructions to get b43 to work on SalixOS.

link1 link2

Regards,
zAchAry.
Image
Help to make Slackware easier Donate to Salix
Post Reply