Skip to content

Commit

Permalink
Update image-gen.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Seshpenguin committed Mar 23, 2024
1 parent cdd7b2e commit 840893b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-extra/image-gen/image-gen.ts
Expand Up @@ -84,7 +84,7 @@ const buildTargetStandardPMOSDeviceImage = (targetDevice: string) => {
mkdir -pv work
cd work
sudo abootimg -x ../boot.img
sudo sed -i "s/bootsize.*/bootsize = 0xffffff/g" bootimg.cfg
sudo sed -i "s/bootsize.*/bootsize = 16900000/g" bootimg.cfg
sudo sed -i "s/cmdline.*/cmdline = console=tty0 PMOS_NO_OUTPUT_REDIRECT/g" bootimg.cfg
echo "- Packing new boot image..."
sudo abootimg --create boot.img -f bootimg.cfg -k zImage -r ../initramfs
Expand Down

0 comments on commit 840893b

Please sign in to comment.