blob: caa2b53a6804a698182840629b37fd04f1df912a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: 2014 Antony Pavlov <antonynpavlov@gmail.com>
/* This file is part of barebox. */
#include <common.h>
#include <init.h>
static int hostname_init(void)
{
barebox_set_hostname("virt2real");
return 0;
}
core_initcall(hostname_init);
|