Add deark dependency to prepare for some improvements

This commit is contained in:
RichardG867
2022-05-21 23:07:04 -03:00
parent 997497fd21
commit 457c2804d8
7 changed files with 22 additions and 5 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "deark"]
path = deark
url = https://github.com/jsummers/deark.git

View File

@@ -37,6 +37,10 @@ COPY . /biostools
RUN cd /biostools/bios_extract && \
make
# Compile deark.
RUN cd /biostools/deark &&
make
# Create final image.
FROM debian:bullseye
@@ -57,5 +61,5 @@ RUN pip install -r /biostools/requirements.txt
VOLUME /bios
WORKDIR /biostools
# Run our entry point script.
# Run our entrypoint script.
ENTRYPOINT ["/bin/sh", "/biostools/docker-entrypoint.sh"]

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
.PHONY: all
all:
make -C bios_extract all
make -C deark all
%:
make -C bios_extract "$@"
make -C deark "$@"

View File

@@ -34,12 +34,11 @@ A toolkit for extracting and analyzing x86 BIOS ROM images (mostly) within the c
### Installation
1. Clone this repository.
2. Build the `bios_extract` tool:
2. Build the `bios_extract` and `deark` tools:
```
cd bios_extract
cd /path/to/bios-tools
make
cd ..
```
3. Download the `UEFIExtract` tool from its [GitHub repository](https://github.com/LongSoft/UEFITool/releases) and place its executable on the repository's root directory. Prebuilt versions are only available for `x86_64`, but this tool is optional, and only required for UEFI extraction.

View File

@@ -5,6 +5,7 @@ Fork of the [coreboot bios_extract tool](https://github.com/coreboot/bios_extrac
## Modifications
* Added some sanity checks
* Added automatic saving of parts of the image that were not processed, like PHOEDECO
* Improved AMI, Award and Phoenix BIOS detection
* Improved AMIBIOS extraction
* Improved Award extraction on semi-compressed v4.50 BIOSes

1
deark Submodule

Submodule deark added at 267c41acec

View File

@@ -7,7 +7,7 @@
#
# This file is part of the 86Box BIOS Tools distribution.
#
# Docker container entry point for running the tools.
# Docker container entrypoint for running the tools.
#
#
#