put firmware in separate module

pull/40/head
TomasM 2017-12-15 11:29:04 -05:00
parent f0fc8f5255
commit bdcf158d2e
3 changed files with 15 additions and 7 deletions

View File

@ -6,11 +6,7 @@ apt-get dist-upgrade --yes
# if kernel was upgraded, you may need to reboot # if kernel was upgraded, you may need to reboot
apt-get install --yes --no-install-recommends mc squashfs-tools genisoimage zip unzip psmisc net-tools \ apt-get install --yes --no-install-recommends mc squashfs-tools genisoimage zip unzip psmisc net-tools \
alsa-utils man less xz-utils ca-certificates openssl acpid acpi-support-base powermgmt-base bzip2 gpart \ alsa-utils man less xz-utils ca-certificates openssl acpid acpi-support-base powermgmt-base bzip2 gpart \
hdparm sdparm mdadm smartmontools dosfstools lsof htop gddrescue rsync netcat ssh gpm wireless-tools \ hdparm sdparm mdadm smartmontools dosfstools lsof htop gddrescue rsync netcat ssh gpm wireless-tools
firmware-linux-free firmware-linux-nonfree \
firmware-atheros firmware-bnx2 firmware-brcm80211 firmware-cavium \
firmware-ipw2x00 firmware-iwlwifi firmware-libertas firmware-realtek \
firmware-ti-connectivity firmware-zd1211
ln -sf bash /bin/sh ln -sf bash /bin/sh

View File

@ -0,0 +1,12 @@
apt-get update
apt-get install --yes --no-install-recommends \
firmware-linux-free firmware-linux-nonfree \
firmware-atheros firmware-iwlwifi firmware-zd1211 firmware-realtek \
firmware-bnx2 firmware-brcm80211 firmware-cavium \
firmware-ipw2x00 firmware-libertas \
firmware-ti-connectivity
. ../../cleanup
savechanges /01-firmware.sb

4
config
View File

@ -12,7 +12,7 @@
# If you do not need booting from CD (eg you're booting only from USB) # If you do not need booting from CD (eg you're booting only from USB)
# then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME # then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME
# and you're done. # and you're done.
LIVEKITNAME="linux" LIVEKITNAME="slax"
# Kernel file, will be copied to your Live Kit # Kernel file, will be copied to your Live Kit
# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready # Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready
@ -34,7 +34,7 @@ MKMOD="bin etc home lib lib64 opt root sbin srv usr var"
# you will need network modules included in your initrd. # you will need network modules included in your initrd.
# This is disabled by default since most people won't need it. # This is disabled by default since most people won't need it.
# To enable, set to true # To enable, set to true
NETWORK=false NETWORK=true
# Temporary directory to store livekit filesystem # Temporary directory to store livekit filesystem
LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$ LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$