From b15cf312e8aa14d1f4d0b46fb02e571e18cc0770 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Wed, 20 Apr 2022 17:16:48 -0400 Subject: [PATCH] Change lightning-rfc to bolts post repo move --- .github/scripts/build.sh | 4 ++-- Makefile | 2 +- doc/HACKING.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index bfbb97eb9e38..a08de2f23f78 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -2,7 +2,7 @@ echo "Running in $(pwd)" export ARCH=${ARCH:-64} -export BOLTDIR=lightning-rfc +export BOLTDIR=bolts export CC=${COMPILER:-gcc} export COMPAT=${COMPAT:-1} export TEST_CHECK_DBSTMTS=${TEST_CHECK_DBSTMTS:-0} @@ -25,7 +25,7 @@ pip3 install --user poetry poetry config virtualenvs.create false --local poetry install -git clone https://github.com/lightningnetwork/lightning-rfc.git ../lightning-rfc +git clone https://github.com/lightning/bolts.git ../${BOLTDIR} git submodule update --init --recursive ./configure CC="$CC" diff --git a/Makefile b/Makefile index 8eea1ec2aeab..e69e854356ff 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ PKGNAME = c-lightning CCANDIR := ccan # Where we keep the BOLT RFCs -BOLTDIR := ../lightning-rfc/ +BOLTDIR := ../bolts/ DEFAULT_BOLTVERSION := e60d594abf436e768116684080997a8d4f960263 # Can be overridden on cmdline. BOLTVERSION := $(DEFAULT_BOLTVERSION) diff --git a/doc/HACKING.md b/doc/HACKING.md index 07dbeb4e4089..05274cc4ae92 100644 --- a/doc/HACKING.md +++ b/doc/HACKING.md @@ -318,7 +318,7 @@ wire/extracted_onion_wire_csv). You can regenerate these by first deleting the local copy(if any) at directory .tmp.lightning-rfc, setting `BOLTDIR` and `BOLTVERSION` appropriately, and finally running `make extract-bolt-csv`. By default the bolts will be retrieved from the -directory `../lightning-rfc` and a recent git version. +directory `../bolts` and a recent git version. e.g., `make extract-bolt-csv BOLTDIR=../bolts BOLTVERSION=ee76043271f79f45b3392e629fd35e47f1268dc8`