filesystem: cleanup to match branch 1.9.x
This commit is contained in:
parent
136c9ae48b
commit
a3512efa21
@ -165,7 +165,7 @@ uboot_part_upgrade_check()
|
||||
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
|
||||
return 0
|
||||
fi
|
||||
grep "IGEP v2" /proc/cpuinfo > /dev/null 2>&1
|
||||
dmesg | grep Machine | grep 'IGEP v2' > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
|
||||
return 0
|
||||
|
@ -11,7 +11,7 @@ maintainer=\
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir \
|
||||
"$cfg_dir_rootfs"/{dev,boot,proc,sys,mnt,etc,bin,sbin,opt,var,root} \
|
||||
"$cfg_dir_rootfs"/{dev,boot,proc,sys,etc,bin,sbin,opt,var,mnt,root} \
|
||||
"$cfg_dir_rootfs"/usr/{bin,sbin,lib,lib/firmware} \
|
||||
"$cfg_dir_rootfs"/opt \
|
||||
"$cfg_dir_rootfs"/dev/{shm,pts} \
|
||||
@ -21,9 +21,9 @@ target_install()
|
||||
ln -fs dev/shm "$cfg_dir_rootfs"/tmp &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/tmp &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/run &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lib &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/log &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lock &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lib &&
|
||||
ln -fs /sbin/init "$cfg_dir_rootfs"/init &&
|
||||
ln -fs /tmp/resolv.conf "$cfg_dir_rootfs"/etc/resolv.conf &&
|
||||
ln -fs /proc/self/mounts "$cfg_dir_rootfs"/etc/mtab &&
|
||||
|
Reference in New Issue
Block a user