limine-deploy: Remove leading underscore from limine.hdd variable name
This commit is contained in:
parent
7f3e8f6acc
commit
18fc320925
@ -6,7 +6,7 @@ LC_ALL=C
|
|||||||
export LC_ALL
|
export LC_ALL
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
const uint8_t _binary_limine_hdd_bin_data[] = {
|
const uint8_t binary_limine_hdd_bin_data[] = {
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g'
|
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g'
|
||||||
|
@ -314,8 +314,8 @@ static bool _device_write(const void *_buffer, uint64_t loc, size_t count) {
|
|||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
int ok = EXIT_FAILURE;
|
int ok = EXIT_FAILURE;
|
||||||
int force_mbr = 0;
|
int force_mbr = 0;
|
||||||
const uint8_t *bootloader_img = _binary_limine_hdd_bin_data;
|
const uint8_t *bootloader_img = binary_limine_hdd_bin_data;
|
||||||
size_t bootloader_file_size = sizeof(_binary_limine_hdd_bin_data);
|
size_t bootloader_file_size = sizeof(binary_limine_hdd_bin_data);
|
||||||
uint8_t orig_mbr[70], timestamp[6];
|
uint8_t orig_mbr[70], timestamp[6];
|
||||||
|
|
||||||
uint32_t endcheck = 0x12345678;
|
uint32_t endcheck = 0x12345678;
|
||||||
|
Loading…
Reference in New Issue
Block a user