1*4882a593Smuzhiyun#!/bin/bash 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunBUILDROOT=$(pwd) 4*4882a593SmuzhiyunTARGET=$1 5*4882a593SmuzhiyunNAME=$(whoami) 6*4882a593SmuzhiyunHOST=$(hostname) 7*4882a593SmuzhiyunKERNEL_DIR=$BUILDROOT/../kernel 8*4882a593SmuzhiyunOUTPUT_DIR=$TARGET/../ 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/v4l_id 11*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/75-net-description.rules 12*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-persistent-input.rules 13*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/70-mouse.rules 14*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/70-joystick.rules 15*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/64-btrfs.rules 16*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-persistent-storage-tape.rules 17*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-serial.rules 18*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/70-touchpad.rules 19*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-block.rules 20*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-drm.rules 21*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-sensor.rules 22*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/80-net-name-slot.rules 23*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/80-drivers.rules 24*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-cdrom_id.rules 25*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-evdev.rules 26*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-persistent-v4l.rules 27*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/75-probe_mtd.rules 28*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-persistent-alsa.rules 29*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/78-sound-card.rules 30*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/50-udev-default.rules 31*4882a593Smuzhiyunrm -f $TARGET/lib/udev/rules.d/60-input-id.rules 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/scsi_id 34*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/rc_keymaps 35*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/ata_id 36*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/collect 37*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/cdrom_id 38*4882a593Smuzhiyunrm -rf $TARGET/lib/udev/mtd_probe 39*4882a593Smuzhiyunrm -rf $TARGET/etc/init.d/S20urandom 40*4882a593Smuzhiyun 41*4882a593Smuzhiyunexit 0 42