In #194 we decided to split up the aports
folder (the one that holds all package build recipes) into subfolders. Here are the instructions to migrate your locally checked out code, on which you possibly have worked on already. As always, you can ask in the channel or create an issue in the tracker, if you need any help.
Please extend these instructions, if you need additinal steps to migrate your aports
folder or something is unclear!
Instructions:
Make a backup of your pmbootstrap folder, just to be sure
Run git pull
to get the latest source
* move the aports, that you have created in the appropriate folders
* cross
: everything cross-compiler related
* device
: device specific packages and kernels
* kde
: everything plasma-mobile related
* main
: the rest
* unmaintained
: packages, that we don't really need anymore, but we don't want to remove them yet
In case you need it, here is a migration script. It will convert the old folder structure to the new one.
#!/bin/sh -e
if [ ! -d "aports" ]; then
echo "Please execute this script in your pmbootstrap folder."
exit 1
fi
for i in cross device kde main unmaintained; do
mkdir -p aports_new/"$i"
done
cd aports
mv *-armhf *-aarch64 qemu-user-static-repack ../aports_new/cross
mv device-* linux-* ../aports_new/device
mv acpid ../aports_new/unmaintained
mv * ../aports_new/main
cd ..
rm -d aports
mv aports_new aports
And here is a revert script, that converts the new folder structure into the old one (usually you should not need this!):
#!/bin/sh -e
if [ ! -d "aports" ]; then
echo "Please execute this script in your pmbootstrap folder."
exit 1
fi
mkdir aports_new
mv aports/*/* aports_new/
rm -r aports
mv aports_new aports