Skip to content

Commit 2979608

Browse files
flex-builder: Update install_debian.sh strings
Replaces "Yocto" strings with "Debian" in install_debian.sh script. Signed-off-by: Andre Morishita <andre.m@variscite.com> (cherry picked from commit 464011d)
1 parent de23271 commit 2979608

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tools/flex-builder

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,12 @@ create_recovery_sdcard_image_add_installer() {
365365
return 1
366366
fi
367367

368+
# Replace Yocto string with Debian in the installer script
369+
if ! sed -i 's|Yocto|Debian|' "$ROOTFS_DIR/usr/bin/install_debian.sh"; then
370+
echo "Error: Failed to update Yocto strings in install_debian.sh" >&2
371+
return 1
372+
fi
373+
368374
# Copy bootloader and rootfs files to image directory
369375
cp "$FLASH_BIN" "$ROOTFS_DIR/opt/images/Debian/${INSTALL_DEBIAN_TARGET_BOOT}"
370376
cp "$ROOTFS_FILE" "$ROOTFS_DIR/opt/images/Debian/${INSTALL_DEBIAN_TARGET_ROOTFS}"

0 commit comments

Comments
 (0)