MrRockchip

cbfsget_new.txt

Mar 9th, 2021 (edited)
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.11 KB | None | 0 0
  1. ### SCRIPT BEGIN ###
  2.  
  3. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  4. --user-agent="Mozilla/5.0" --execute robots=off \
  5. --directory-prefix=./3rdparty/vboot/ \
  6. https://review.coreboot.org/cgit/vboot.git/plain/cgpt/ \
  7. --reject=cgpt.c,cgpt_legacy.c,cgpt_repair.c,cgpt_wrapper.c,\
  8. cmd_add.c,cmd_boot.c,cmd_create.c,cmd_edit.c,cmd_find.c,\
  9. cmd_legacy.c,cmd_prioritize.c,cmd_repair.c,cmd_show.c
  10.  
  11. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  12. --user-agent="Mozilla/5.0" --execute robots=off \
  13. --directory-prefix=./3rdparty/vboot/ \
  14. https://review.coreboot.org/cgit/vboot.git/plain/firmware/2lib/ \
  15. --reject=2api.c,2auxfw_sync.c,2ec_sync.c,2firmware.c,2gbb.c,2misc.c,\
  16. 2packed_key.c,2secdata_firmware.c,2secdata_fwmp.c,2secdata_kernel.c,\
  17. 2tpm_bootmode.c,2ui.c,2ui_screens.c,2tpm_bootmode.h,2ui.h,2ui_private.h
  18.  
  19. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  20. --user-agent="Mozilla/5.0" --execute robots=off \
  21. --directory-prefix=./3rdparty/vboot/ \
  22. https://review.coreboot.org/cgit/vboot.git/plain/firmware/include/ \
  23. --reject=OWNERS,tpm2_marshaling.h,tpm2_tss_constants.h,vb2_api.h,\
  24. vb2_constants.h,vb2_internals_please_do_not_use.h
  25.  
  26. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  27. --user-agent="Mozilla/5.0" --execute robots=off \
  28. --directory-prefix=./3rdparty/vboot/ \
  29. https://review.coreboot.org/cgit/vboot.git/plain/firmware/lib/ \
  30. --exclude-directories=/cgit/vboot.git/plain/firmware/lib/tpm2_lite/
  31.  
  32. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  33. --user-agent="Mozilla/5.0" --execute robots=off \
  34. --directory-prefix=./3rdparty/vboot/ \
  35. https://review.coreboot.org/cgit/vboot.git/plain/firmware/lib20/include/vb2_common.h
  36.  
  37. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  38. --user-agent="Mozilla/5.0" --execute robots=off \
  39. --directory-prefix=./3rdparty/vboot/ \
  40. https://review.coreboot.org/cgit/vboot.git/plain/firmware/stub/ \
  41. --reject=OWNERS
  42.  
  43. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  44. --user-agent="Mozilla/5.0" --execute robots=off \
  45. --directory-prefix=./3rdparty/vboot/ \
  46. https://review.coreboot.org/cgit/vboot.git/plain/futility/dump_kernel_config_lib.c
  47.  
  48. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  49. --user-agent="Mozilla/5.0" --execute robots=off \
  50. --directory-prefix=./3rdparty/vboot/ \
  51. https://review.coreboot.org/cgit/vboot.git/plain/futility/futility.h
  52.  
  53. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  54. --user-agent="Mozilla/5.0" --execute robots=off \
  55. --directory-prefix=./3rdparty/vboot/ \
  56. https://review.coreboot.org/cgit/vboot.git/plain/futility/kernel_blob.h
  57.  
  58. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  59. --user-agent="Mozilla/5.0" --execute robots=off \
  60. --directory-prefix=./3rdparty/vboot/ \
  61. https://review.coreboot.org/cgit/vboot.git/plain/host/ \
  62. --exclude-directories=/cgit/vboot.git/plain/host/arch/
  63.  
  64. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  65. --user-agent="Mozilla/5.0" --execute robots=off \
  66. --directory-prefix=./3rdparty/vboot/ \
  67. https://review.coreboot.org/cgit/vboot.git/plain/host/arch/x86/lib/crossystem_arch.c
  68.  
  69. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  70. --user-agent="Mozilla/5.0" --execute robots=off \
  71. --directory-prefix=./3rdparty/vboot/ \
  72. https://review.coreboot.org/cgit/vboot.git/plain/host/arch/x86_64/lib/crossystem_arch.c
  73.  
  74. cp ./3rdparty/vboot/host/arch/x86/lib/crossystem_arch.c \
  75. ./3rdparty/vboot/host/arch/x86_64/lib/crossystem_arch.c
  76.  
  77. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  78. --user-agent="Mozilla/5.0" --execute robots=off \
  79. --directory-prefix=./3rdparty/vboot/ \
  80. https://review.coreboot.org/cgit/vboot.git/plain/Makefile
  81.  
  82. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  83. --user-agent="Mozilla/5.0" --execute robots=off \
  84. https://review.coreboot.org/cgit/coreboot.git/plain/src/commonlib/ \
  85. --exclude-directories=/cgit/coreboot.git/plain/src/commonlib/storage/ \
  86. --reject=configstring.c,iobuf.c,cbmem_id.h,configstring.h,coreboot_tables.h,\
  87. fmap_serialized.h,iobuf.h,sd_mmc_ctrlr.h,sdhci.h,stdlib.h,storage.h,\
  88. timestamp_serialized.h
  89.  
  90. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  91. --user-agent="Mozilla/5.0" --execute robots=off \
  92. https://review.coreboot.org/cgit/coreboot.git/plain/src/vendorcode/intel/edk2/uefi_2.4/
  93.  
  94. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  95. --user-agent="Mozilla/5.0" --execute robots=off \
  96. https://review.coreboot.org/cgit/coreboot.git/plain/src/vendorcode/intel/fsp/fsp1_1/IntelFspPkg/Include/FspInfoHeader.h
  97.  
  98. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  99. --user-agent="Mozilla/5.0" --execute robots=off \
  100. https://review.coreboot.org/cgit/coreboot.git/plain/util/cbfstool/
  101.  
  102. wget --recursive --no-parent --no-host-directories --cut-dirs=3 \
  103. --user-agent="Mozilla/5.0" --execute robots=off \
  104. https://review.coreboot.org/cgit/coreboot.git/plain/util/vboot_lib/
  105.  
  106. mkdir ./3rdparty/vboot/tests/
  107. mkdir ./3rdparty/vboot/tests/tpm_lite/
  108. mkdir ./3rdparty/vboot/utility/
  109.  
  110. cd ./util/cbfstool/
  111.  
  112. make all
  113.  
  114. ### SCRIPT END ###
Add Comment
Please, Sign In to add comment