1
0
mirror of https://gitlab.alpinelinux.org/alpine/alpine-baselayout.git synced 2025-04-19 09:42:19 +03:00

release 1.8.0. added blacklist and init.d/dnsd

This commit is contained in:
ncopa 2008-05-21 14:19:32 +00:00
parent 3a71aa3308
commit 4ea2f44bd0
6 changed files with 173 additions and 34 deletions

View File

@ -1,4 +1,4 @@
VERSION=1.7.2
VERSION=1.8.0
PV =alpine-baselayout-$(VERSION)
TARBALL =$(PV).tar.gz
@ -14,12 +14,11 @@ SBIN_FILES =runscript-alpine.sh functions.sh rc_add rc_delete rc_status\
RC_SH_FILES =rc-services.sh
UDHCPC_FILES =default.script
LIB_MDEV_FILES =ide_links sd_links subdir_dev usbdev dvbdev
#USR_BIN_FILES =send-pr
#GNATS_FILES =send-pr.template send-pr.conf
MODPROBED_FILES =blacklist
SENDBUG_FILES =sendbug.conf
CRONTABS =crontab
DISTFILES =$(ETC_FILES) $(SBIN_FILES) $(UDHCPC_FILES) $(RC_SH_FILES)\
$(LIB_MDEV_FILES) $(SENDBUG_FILES) Makefile
$(LIB_MDEV_FILES) $(SENDBUG_FILES) $(MODPROBED_FILES) Makefile
all: $(GENERATED_FILES)
for i in $(SUBDIRS) ; do \
@ -64,6 +63,7 @@ install:
$(DESTDIR)/etc/sendbug \
$(DESTDIR)/usr/bin \
$(DESTDIR)/lib/mdev \
$(DESTDIR)/etc/modprobe.d \
$(DESTDIR)/var/spool/cron \
$(DESTDIR)/etc/periodic/15min \
$(DESTDIR)/etc/periodic/hourly \
@ -81,7 +81,7 @@ install:
install -m 0755 $(UDHCPC_FILES) $(DESTDIR)/usr/share/udhcpc
install -m 0755 $(RC_SH_FILES) $(DESTDIR)/lib/rcscripts/sh
install -m 0755 $(LIB_MDEV_FILES) $(DESTDIR)/lib/mdev
# install -m 0755 $(USR_BIN_FILES) $(DESTDIR)/usr/bin
install -m 0755 $(MODPROBED_FILES) $(DESTDIR)/etc/modprobe.d
mv $(DESTDIR)/etc/crontab $(DESTDIR)/etc/crontabs/root
ln -s /etc/crontabs $(DESTDIR)/var/spool/cron/crontabs

65
blacklist Normal file
View File

@ -0,0 +1,65 @@
#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first. Sometimes user
# mode tools can also control driver binding.
# tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
blacklist de4x5
# At least 2.4.3 and later xircom_tulip doesn't have that conflict
# xircom_tulip_cb
blacklist dmfe
#evbug is a debug tool and should be loaded explicitly
blacklist evbug
# Alternate Intel EtherExpress Pro/100 support driver. List it
# here so it won't conflict with an already-loaded eepro100 module.
blacklist e100
# Alternate 8139 driver. Some 8139 cards need this specific driver,
# though...
blacklist 8139cp
# Ethernet over IEEE1394 module. In too many cases this will load
# when there's no eth1394 device present (just an IEEE1394 port)
blacklist eth1394
# This module causes many Intel motherboards to crash and reboot.
blacklist i8xx-tco
# The kernel lists this as "experimental", but for now it's "broken"
blacklist via-ircc
# ALSA modules to support sound modems. These should be loaded manually
# if needed. For most people they just break sound support...
blacklist snd-atiixp-modem
blacklist snd-intel8x0m
blacklist snd-via82xx-modem
# Alternative module to Orinoco Wireless Cards.
blacklist hostap
blacklist hostap_cs
# framebuffer drivers
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist i810fb
blacklist cirrusfb
blacklist intelfb
blacklist kyrofb
blacklist i2c-matroxfb
blacklist hgafb
blacklist nvidiafb
blacklist rivafb
blacklist savagefb
blacklist sstfb
blacklist neofb
blacklist tridentfb
blacklist tdfxfb
blacklist virgefb
blacklist vga16fb
blacklist matroxfb_base

View File

@ -4,6 +4,7 @@ SCRIPTS = alpinecfg.sh \
checkroot.sh \
coldplug \
cron \
dnsd \
hostname \
hwclock \
hwdrivers \

13
init.d/dnsd Executable file
View File

@ -0,0 +1,13 @@
#!/sbin/runscript
start() {
ebegin "Starting dnsd"
dnsd -d $DNSD_OPTS
eend $?
}
stop () {
ebegin "Stopping dnsd"
killall dnsd
eend $?
}

View File

@ -25,8 +25,8 @@ port root:root 0640
ptmx root:tty 0666
# ram.*
ram[0-9]* root:disk 0660 */lib/mdev/subdir_dev -l -n rd
loop[0-9] root:disk 0660 */lib/mdev/subdir_dev -l -n loop
ram([0-9]*) root:disk 0660 >rd/%1
loop([0-9]+) root:disk 0660 >loop/
sd[a-z][0-9]* root:disk 0660 */lib/mdev/sd_links
hd[a-z][0-9]* root:disk 0660 */lib/mdev/ide_links
md[0-9] root:disk 0660
@ -47,34 +47,34 @@ slusb root:dialout 0660 @ln -sf $MDEV slusb0
fuse root:root 0666
# dri device
card[0-9] root:video 0660 */lib/mdev/subdir_dev dri
card[0-9] root:video 0660 =dri/
# alsa sound devices and audio stuff
pcm.* root:audio 0660 */lib/mdev/subdir_dev snd
control.* root:audio 0660 */lib/mdev/subdir_dev snd
midi.* root:audio 0660 */lib/mdev/subdir_dev snd
seq root:audio 0660 */lib/mdev/subdir_dev snd
timer root:audio 0660 */lib/mdev/subdir_dev snd
pcm.* root:audio 0660 =snd/
control.* root:audio 0660 =snd/
midi.* root:audio 0660 =snd/
seq root:audio 0660 =snd/
timer root:audio 0660 =snd/
adsp root:audio 0660 */lib/mdev/subdir_dev -l sound
audio root:audio 0660 */lib/mdev/subdir_dev -l sound
dsp root:audio 0660 */lib/mdev/subdir_dev -l sound
mixer root:audio 0660 */lib/mdev/subdir_dev -l sound
sequencer.* root:audio 0660 */lib/mdev/subdir_dev -l sound
adsp root:audio 0660 >sound/
audio root:audio 0660 >sound/
dsp root:audio 0660 >sound/
mixer root:audio 0660 >sound/
sequencer.* root:audio 0660 >sound/
# misc stuff
agpgart root:root 0660 */lib/mdev/subdir_dev -l misc
psaux root:root 0660 */lib/mdev/subdir_dev -l misc
rtc root:root 0664 */lib/mdev/subdir_dev -l misc
agpgart root:root 0660 >misc/
psaux root:root 0660 >misc/
rtc root:root 0664 >misc/
# input stuff
mice root:root 0640 */lib/mdev/subdir_dev input
mouse[0-9] root:root 0640 */lib/mdev/subdir_dev input
ts[0-9] root:root 0600 */lib/mdev/subdir_dev input
mice root:root 0640 =input/
mouse[0-9] root:root 0640 =input/
ts[0-9] root:root 0600 =input/
# v4l stuff
vbi[0-9] root:video 0660 */lib/mdev/subdir_dev -l v4l
video[0-9] root:video 0660 */lib/mdev/subdir_dev -l v4l
vbi[0-9] root:video 0660 >v4l/
video[0-9] root:video 0660 >v4l/
# dvb stuff
dvb.* root:video 0660 */lib/mdev/dvbdev
@ -84,14 +84,9 @@ usbdev[0-9].[0-9] root:root 0660 */lib/mdev/usbdev
usbdev[0-9].[0-9]_.* root:root 0660
# net devices
tun[0-9]* root:root 0600 */lib/mdev/subdir_dev net
tap[0-9]* root:root 0600 */lib/mdev/subdir_dev net
tun[0-9]* root:root 0600 =net/
tap[0-9]* root:root 0600 =net/
# zaptel devices
zapctl root:dialout 0660 */lib/mdev/subdir_dev zap ctl
zaptimer root:dialout 0660 */lib/mdev/subdir_dev zap timer
zapchannel root:dialout 0660 */lib/mdev/subdir_dev zap channel
zappseudo root:dialout 0660 */lib/mdev/subdir_dev zap pseudo
zaptranscode root:dialout 0660 */lib/mdev/subdir_dev zap transcode
zap[0-9]* root:dialout 0660 */lib/mdev/subdir_dev -n zap
zap(.*) root:dialout 0660 =zap/%1

View File

@ -1 +1,66 @@
### This file is generated by modules-update
#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first. Sometimes user
# mode tools can also control driver binding.
# tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
blacklist de4x5
# At least 2.4.3 and later xircom_tulip doesn't have that conflict
# xircom_tulip_cb
blacklist dmfe
#evbug is a debug tool and should be loaded explicitly
blacklist evbug
# Alternate Intel EtherExpress Pro/100 support driver. List it
# here so it won't conflict with an already-loaded eepro100 module.
blacklist e100
# Alternate 8139 driver. Some 8139 cards need this specific driver,
# though...
blacklist 8139cp
# Ethernet over IEEE1394 module. In too many cases this will load
# when there's no eth1394 device present (just an IEEE1394 port)
blacklist eth1394
# This module causes many Intel motherboards to crash and reboot.
blacklist i8xx-tco
# The kernel lists this as "experimental", but for now it's "broken"
blacklist via-ircc
# ALSA modules to support sound modems. These should be loaded manually
# if needed. For most people they just break sound support...
blacklist snd-atiixp-modem
blacklist snd-intel8x0m
blacklist snd-via82xx-modem
# Alternative module to Orinoco Wireless Cards.
blacklist hostap
blacklist hostap_cs
# framebuffer drivers
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist i810fb
blacklist cirrusfb
blacklist intelfb
blacklist kyrofb
blacklist i2c-matroxfb
blacklist hgafb
blacklist nvidiafb
blacklist rivafb
blacklist savagefb
blacklist sstfb
blacklist neofb
blacklist tridentfb
blacklist tdfxfb
blacklist virgefb
blacklist vga16fb
blacklist matroxfb_base