mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-21 09:05:33 -07:00
Add deark dependency to prepare for some improvements
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "deark"]
|
||||
path = deark
|
||||
url = https://github.com/jsummers/deark.git
|
||||
@@ -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
9
Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
.PHONY: all
|
||||
|
||||
all:
|
||||
make -C bios_extract all
|
||||
make -C deark all
|
||||
|
||||
%:
|
||||
make -C bios_extract "$@"
|
||||
make -C deark "$@"
|
||||
@@ -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.
|
||||
|
||||
@@ -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
1
deark
Submodule
Submodule deark added at 267c41acec
@@ -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.
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user