X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=init.sh;h=e76c1e8fc12746f17355d11712176a818db56733;hb=55449e518f6a504394e4c8c9985ebcc9a033ed41;hp=7dbb8fd00e0596cb400ed82b58a674f12a9f5948;hpb=5e5b61aa28dc1cd88f1f70a022dc6e966cffef83;p=fedora-riscv.git diff --git a/init.sh b/init.sh index 7dbb8fd..e76c1e8 100755 --- a/init.sh +++ b/init.sh @@ -1,9 +1,6 @@ #!/bin/bash - # Init script installed in stage3 disk image. -LD_LIBRARY_PATH=/usr/lib64 -export LD_LIBRARY_PATH - # Root filesystem is mounted as ro, remount it as rw. mount.static -o remount,rw / @@ -16,7 +13,10 @@ mkdir -p /run/lock # XXX devtmpfs # Initialize dynamic linker cache. -ldconfig +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` echo echo "Welcome to the Fedora/RISC-V stage3 disk image"