Parcourir la source

create_sunxi - change default directory name

Émile Morel il y a 10 ans
Parent
commit
950d4357e1
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 2
      README.md
  2. 1 1
      olinux/create_sunxi_boot_files.sh

+ 2 - 2
README.md

@@ -23,7 +23,7 @@ cd sunxi-debian && sudo docker build -t debian:olinux .
 To build sunxi kernel and boot files run:
 
 ```shell
-sudo docker run --privileged -i -t -v $(pwd)/olinux/:/olinux/ debian:olinux bash ./olinux/create_sunxi_boot_files.sh -c
+sudo docker run --privileged -i -t -v $(pwd)/olinux/:/olinux/ debian:olinux bash /olinux/create_sunxi_boot_files.sh -c
 ```
 
 Optional arguments:
@@ -40,7 +40,7 @@ privileged mode. For more details see [docker issue](https://github.com/docker/d
 To build the minimal debian rootfs with the kernel previously build:
 
 ```shell
-sudo docker run --privileged -i -t -v $(pwd)/olinux/:/olinux/ debian:olinux bash ./olinux/create_arm_debootstrap.sh -i olinux/sunxi -c
+sudo docker run --privileged -i -t -v $(pwd)/olinux/:/olinux/ debian:olinux bash /olinux/create_arm_debootstrap.sh -i olinux/sunxi -c
 ```
 
 Optional arguments:

+ 1 - 1
olinux/create_sunxi_boot_files.sh

@@ -30,7 +30,7 @@ exit 1
 THREADS=2
 MAINTAINER="Emile"
 MAINTAINERMAIL="emile@bleuchtang.fr"
-REP=/olinux
+REP=$(dirname $0)
 TARGET=/olinux/sunxi
 
 while getopts ":ob:t:l:c" opt; do