US 11,809,376 B2
Building a file system for multiple architectures
Jin Chi JC He, Xi'an (CN); Guang Han Sui, Beijing (CN); Ke Zhang, Xi'an (CN); Yang Gao, Xi'an (CN); Yu Xing YX Ren, Xi'an (CN); and Liang Wang, Xi'an (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on May 13, 2021, as Appl. No. 17/319,133.
Prior Publication US 2022/0365907 A1, Nov. 17, 2022
Int. Cl. G06F 16/17 (2019.01); G06F 16/11 (2019.01); G06F 16/13 (2019.01)
CPC G06F 16/173 (2019.01) [G06F 16/122 (2019.01); G06F 16/128 (2019.01); G06F 16/137 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
responsive to receiving a manifest for a file system build, retrieving, by one or more computer processors, a base layer for each platform of multiple central processor unit (CPU) architecture platforms to be built, wherein each base layer is an operating system base image for at least one of the multiple CPU architecture platforms;
responsive to determining that any layer of a plurality of layers to be built for the multiple CPU architecture platforms has not been built:
a) retrieving, by the one or more computer processors, a next layer of the plurality of layers to be built;
b) responsive to the next layer of the plurality of layers to be built is CPU architecture platform-independent, retrieving, by the one or more computer processors, the next layer from a cache, wherein the next layer supports each CPU architecture platform of the multiple CPU architecture platforms;
c) responsive to the next layer to be built is platform-dependent, building, by the one or more computer processors, the next layer, wherein a platform dependent copy of the next layer is built for the each CPU architecture platform of the multiple CPU architecture platforms;
iteratively repeating, by the one or more computer processors, above steps of a-c until each layer of the plurality of layers to be built are built; and
storing, by the one or more computer processors, a single image of a completed file system build, wherein the single image supports the each CPU architecture platform of the multiple CPU architecture platforms.