Override a wks.in partition file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Override a wks.in partition file

Jump to solution
2,471 Views
dvega
Contributor II

I have an imx8mp board. I created a custom image based on the imx-image-core. The image uses the `imx-imx-boot-bootpart.wks.in` partition file to set the drive. I modified it to add a home partition. However I would like to create my own wks.in file since I don't have control over the `imx-imx-boot-bootpart.wks.in` file. For .bb files you can fo .bbappend. How do you do it for wks.in files?

I tried adding this "WKS_FILE="imx-image-custom-imx8mp.wks.in" to the imx-image-custom.bb file but no luck

0 Kudos
Reply
1 Solution
2,217 Views
dvega
Contributor II

@jimmychanI followed your suggestion but I still wasn't able to make it work. I ended up using "WKS_FILES="imx-image-custom-imx8mp.wks.in". That extra "S" made the difference.

View solution in original post

0 Kudos
Reply
2 Replies
2,218 Views
dvega
Contributor II

@jimmychanI followed your suggestion but I still wasn't able to make it work. I ended up using "WKS_FILES="imx-image-custom-imx8mp.wks.in". That extra "S" made the difference.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1892370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EOverride%20a%20wks.in%20partition%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1892370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20an%20imx8mp%20board.%20I%20created%20a%20custom%20image%20based%20on%20the%20imx-image-core.%20The%20image%20uses%20the%20%60imx-imx-boot-bootpart.wks.in%60%20partition%20file%20to%20set%20the%20drive.%20I%20modified%20it%20to%20add%20a%20home%20partition.%20However%20I%20would%20like%20to%20create%20my%20own%20wks.in%20file%20since%20I%20don't%20have%20control%20over%20the%20%60imx-imx-boot-bootpart.wks.in%60%20file.%20For%20.bb%20files%20you%20can%20fo%20.bbappend.%20How%20do%20you%20do%20it%20for%20wks.in%20files%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20tried%20adding%20this%20%22WKS_FILE%3D%22imx-image-custom-imx8mp.wks.in%22%20to%20the%20imx-image-custom.bb%20file%20but%20no%20luck%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1892370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208%20Family%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYocto%20Project%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1938684%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Override%20a%20wks.in%20partition%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1938684%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1422%22%20target%3D%22_blank%22%3E%40jimmychan%3C%2FA%3EI%20followed%20your%20suggestion%20but%20I%20still%20wasn't%20able%20to%20make%20it%20work.%20I%20ended%20up%20using%20%22WKS_FILES%3D%22imx-image-custom-imx8mp.wks.in%22.%20That%20extra%20%22S%22%20made%20the%20difference.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1893028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Override%20a%20wks.in%20partition%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1893028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFYI.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F64049094%2Foverride-wks-file-for-sd-partition-layout%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F64049094%2Foverride-wks-file-for-sd-partition-layout%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E