X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=init.sh;h=eac9bd9834685f05636934ff298f92c23de03529;hb=745448c2dcbb8e63e4497fe0a0faca0d1eff8429;hp=e7968b7cb51e5aec3d28d32a7e62cf0095f5254b;hpb=634fbf8241da9182e63e36805de3fa659fc5ffd9;p=fedora-riscv.git diff --git a/init.sh b/init.sh index e7968b7..eac9bd9 100755 --- a/init.sh +++ b/init.sh @@ -15,6 +15,23 @@ mkdir -p /run/lock # Initialize dynamic linker cache. ldconfig /usr/lib64 /usr/lib /lib64 /lib +# There is no hardware clock, just ensure the date is not miles out. +date `date -r /usr/bin +%m%d%H%M%Y` + +hostname stage3 +echo stage3.fedoraproject.org > /etc/hostname + +# Set up the PATH. The GCC path is a hack because I wasn't able to +# find the right flags for configuring GCC. +PATH=/usr/libexec/gcc/riscv64-unknown-linux-gnu/6.1.0:\ +/usr/local/bin:\ +/usr/local/sbin:\ +/usr/bin:\ +/usr/sbin:\ +/bin:\ +/sbin +export PATH + echo echo "Welcome to the Fedora/RISC-V stage3 disk image" echo "https://fedoraproject.org/wiki/Architectures/RISC-V"