get_boot_cap
ret = get_boot_cap(bam_root);
ret = get_boot_cap(rootbuf);
if ((get_boot_cap(rootbuf) != BAM_SUCCESS) ||
extern error_t get_boot_cap(const char *osroot);