From 436708a97752387f412d7bb1bbd6747ec0bf8df1 Mon Sep 17 00:00:00 2001 From: Quarx2k Date: Thu, 4 Sep 2014 16:44:32 +0700 Subject: [PATCH] Rename rootfiles w7ds to w7 --- BoardConfig.mk | 2 +- device_w7.mk | 12 ++++++------ rootdir/fscheck.sh | 6 +++--- rootdir/{fstab.w7ds => fstab.w7} | 0 rootdir/{fstab_f2fs.w7ds => fstab_f2fs.w7} | 0 rootdir/{init.w7ds.rc => init.w7.rc} | 6 +++--- rootdir/{init.w7ds.usb.rc => init.w7.usb.rc} | 0 rootdir/{init.w7ds_product.rc => init.w7_product.rc} | 0 rootdir/{ueventd.w7ds.rc => ueventd.w7.rc} | 0 9 files changed, 13 insertions(+), 13 deletions(-) rename rootdir/{fstab.w7ds => fstab.w7} (100%) rename rootdir/{fstab_f2fs.w7ds => fstab_f2fs.w7} (100%) rename rootdir/{init.w7ds.rc => init.w7.rc} (98%) rename rootdir/{init.w7ds.usb.rc => init.w7.usb.rc} (100%) rename rootdir/{init.w7ds_product.rc => init.w7_product.rc} (100%) rename rootdir/{ueventd.w7ds.rc => ueventd.w7.rc} (100%) diff --git a/BoardConfig.mk b/BoardConfig.mk index f394413..36d9d2f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -49,7 +49,7 @@ BOARD_KERNEL_SEPARATED_DT := true BOARD_CUSTOM_BOOTIMG_MK := device/lge/w7/mkbootimg.mk TARGET_KERNEL_SOURCE := kernel/lge/msm8226 TARGET_KERNEL_CONFIG := cm11_msm8226_defconfig -BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 msm_rtb.filter=0x37 androidboot.hardware=w7ds +BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 msm_rtb.filter=0x37 androidboot.hardware=w7 BOARD_KERNEL_BASE := 0x00000000 BOARD_KERNEL_PAGESIZE := 2048 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100 diff --git a/device_w7.mk b/device_w7.mk index e7fdc35..9eab83e 100644 --- a/device_w7.mk +++ b/device_w7.mk @@ -93,16 +93,16 @@ PRODUCT_COPY_FILES += \ # Ramdisk PRODUCT_COPY_FILES += \ - device/lge/w7/rootdir/fstab.w7ds:root/fstab.w7ds \ - device/lge/w7/rootdir/fstab_f2fs.w7ds:root/fstab_f2fs.w7ds \ + device/lge/w7/rootdir/fstab.w7:root/fstab.w7 \ + device/lge/w7/rootdir/fstab_f2fs.w7:root/fstab_f2fs.w7 \ device/lge/w7/rootdir/init.class_main.sh:root/init.class_main.sh \ device/lge/w7/rootdir/init.lge.early.rc:root/init.lge.early.rc \ device/lge/w7/rootdir/init.lge.rc:root/init.lge.rc \ device/lge/w7/rootdir/init.mdm.sh:root/init.mdm.sh \ device/lge/w7/rootdir/init.usb.rc:root/init.usb.rc \ - device/lge/w7/rootdir/init.w7ds.rc:root/init.w7ds.rc \ - device/lge/w7/rootdir/init.w7ds.usb.rc:root/init.w7ds.usb.rc \ - device/lge/w7/rootdir/init.w7ds_product.rc:root/init.w7ds_product.rc \ + device/lge/w7/rootdir/init.w7.rc:root/init.w7.rc \ + device/lge/w7/rootdir/init.w7.usb.rc:root/init.w7.usb.rc \ + device/lge/w7/rootdir/init.w7_product.rc:root/init.w7_product.rc \ device/lge/w7/rootdir/init.zetaw.bt_vendor.rc:root/init.zetaw.bt_vendor.rc \ device/lge/w7/rootdir/init.zetaw.class_core.sh:root/init.zetaw.class_core.sh \ device/lge/w7/rootdir/init.zetaw.cmm.usb.sh:root/init.zetaw.cmm.usb.sh \ @@ -115,7 +115,7 @@ PRODUCT_COPY_FILES += \ device/lge/w7/rootdir/init.zetaw.syspart_fixup.sh:root/init.zetaw.syspart_fixup.sh \ device/lge/w7/rootdir/init.zetaw.usb.rc:root/init.zetaw.usb.rc \ device/lge/w7/rootdir/init.zetaw.usb.sh:root/init.zetaw.usb.sh \ - device/lge/w7/rootdir/ueventd.w7ds.rc:root/ueventd.w7ds.rc \ + device/lge/w7/rootdir/ueventd.w7.rc:root/ueventd.w7.rc \ device/lge/w7/rootdir/sbin/bbx:root/sbin/bbx \ device/lge/w7/rootdir/fscheck.sh:root/fscheck.sh diff --git a/rootdir/fscheck.sh b/rootdir/fscheck.sh index b1985e8..29a3779 100644 --- a/rootdir/fscheck.sh +++ b/rootdir/fscheck.sh @@ -4,8 +4,8 @@ FSTYPE=`/sbin/bbx blkid /dev/block/mmcblk0p34 | /sbin/bbx cut -d ' ' -f3 | /sbin if [ "$FSTYPE" == "ext4" ] then - /sbin/bbx rm /fstab_f2fs.w7ds + /sbin/bbx rm /fstab_f2fs.w7 else - /sbin/bbx cp -f /fstab_f2fs.w7ds /etc/recovery.fstab - /sbin/bbx mv -f /fstab_f2fs.w7ds /fstab.w7ds + /sbin/bbx cp -f /fstab_f2fs.w7 /etc/recovery.fstab + /sbin/bbx mv -f /fstab_f2fs.w7 /fstab.w7 fi diff --git a/rootdir/fstab.w7ds b/rootdir/fstab.w7 similarity index 100% rename from rootdir/fstab.w7ds rename to rootdir/fstab.w7 diff --git a/rootdir/fstab_f2fs.w7ds b/rootdir/fstab_f2fs.w7 similarity index 100% rename from rootdir/fstab_f2fs.w7ds rename to rootdir/fstab_f2fs.w7 diff --git a/rootdir/init.w7ds.rc b/rootdir/init.w7.rc similarity index 98% rename from rootdir/init.w7ds.rc rename to rootdir/init.w7.rc index 523f65b..9c23a12 100755 --- a/rootdir/init.w7ds.rc +++ b/rootdir/init.w7.rc @@ -1,6 +1,6 @@ import /init.zetaw.rc -import /init.w7ds.usb.rc -import /init.w7ds_product.rc +import /init.w7.usb.rc +import /init.w7_product.rc on early-init mkdir /firmware 0771 system system @@ -16,7 +16,7 @@ on init stop ril-daemon on fs - mount_all fstab.w7ds + mount_all fstab.w7 # Executing tune2fs to reserve some region in /data. (40MB) exec /system/bin/tune2fs -u system -r 10240 /dev/block/platform/msm_sdcc.1/by-name/userdata diff --git a/rootdir/init.w7ds.usb.rc b/rootdir/init.w7.usb.rc similarity index 100% rename from rootdir/init.w7ds.usb.rc rename to rootdir/init.w7.usb.rc diff --git a/rootdir/init.w7ds_product.rc b/rootdir/init.w7_product.rc similarity index 100% rename from rootdir/init.w7ds_product.rc rename to rootdir/init.w7_product.rc diff --git a/rootdir/ueventd.w7ds.rc b/rootdir/ueventd.w7.rc similarity index 100% rename from rootdir/ueventd.w7ds.rc rename to rootdir/ueventd.w7.rc