Add support 4.9 support for 7260CX3 (#34)
This commit is contained in:
parent
6a0909e8a7
commit
0f0e7ab7e8
@ -175,6 +175,8 @@ platform_specific() {
|
||||
echo "hugepages=128" >> /tmp/append
|
||||
fi
|
||||
if [ "$platform" = "rook" ]; then
|
||||
echo "iommu=on intel_iommu=on tsc=reliable pcie_ports=native" >>/tmp/append
|
||||
echo "rhash_entries=1 usb-storage.delay_use=0" >>/tmp/append
|
||||
if [ -x /bin/readprefdl ]; then
|
||||
readprefdl -f /tmp/.system-prefdl -d > /mnt/flash/.system-prefdl
|
||||
elif [ -f /etc/prefdl ]; then
|
||||
|
@ -41,6 +41,9 @@ get_flash_dev() {
|
||||
wait_for_root_dev() {
|
||||
local try_rounds=30
|
||||
while [ $try_rounds -gt 0 ]; do
|
||||
if blkid | sed 's/"//g' | grep -q "$root_dev"; then
|
||||
return 0
|
||||
fi
|
||||
if [ -e "$root_dev" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user