Copy key after running installer

This commit is contained in:
Jeremy Soller 2022-08-16 11:40:38 -06:00
parent 06aaf58659
commit dcf706bfd9
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1

View file

@ -13,13 +13,11 @@ build/filesystem.bin: prefix filesystem.toml build/bootloader.bin
redoxfs/target/release/redoxfs $@.partial build/filesystem/ redoxfs/target/release/redoxfs $@.partial build/filesystem/
sleep 2 sleep 2
pgrep redoxfs pgrep redoxfs
$(INSTALLER) -c filesystem.toml build/filesystem/
cp -v filesystem.toml build/filesystem/filesystem.toml cp -v filesystem.toml build/filesystem/filesystem.toml
cp -v build/bootloader.bin build/filesystem/bootloader cp -v build/bootloader.bin build/filesystem/bootloader
mkdir -v build/filesystem/pkg mkdir -pv build/filesystem/pkg
cp -v cookbook/build/id_ed25519.pub.toml build/filesystem/pkg/id_ed25519.pub.toml cp -v cookbook/build/id_ed25519.pub.toml build/filesystem/pkg/id_ed25519.pub.toml
#TODO cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include
#TODO cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib
$(INSTALLER) -c filesystem.toml build/filesystem/
sync sync
-$(FUMOUNT) build/filesystem/ || true -$(FUMOUNT) build/filesystem/ || true
rm -rf build/filesystem/ rm -rf build/filesystem/