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