device-odroid-hc2: use different name for old rootfs (MR 3009)

It became too confusing by using almost the same name for the old rootfs when booting from HDDs

[ci:skip-build] already built successfully in CI
This commit is contained in:
Dylan Van Assche 2022-03-16 14:27:21 +01:00 committed by Clayton Craft
parent 0cea31a837
commit 1ffe798a68
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 4 additions and 4 deletions

View file

@ -3,8 +3,8 @@
pkgname=device-odroid-hc2
pkgdesc="ODROID HC2"
pkgver=0.4
pkgrel=1
pkgver=0.5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -56,5 +56,5 @@ tools() {
sha512sums="
d02702884d47c2c6b98f1ec194fc3a11b2c6559d416c112d41ddecfbbd84f0706adfc72e13e9943f130e548d987aa7d151f4f416443d15b7dff2375d4d067144 deviceinfo
06239b979ad78cadc1bc764b8c6a2ce57c7f2a44456ba918e83ea7ae2846c983ec6cb8eea708540e7c4f3abe2a1ff942b8c8ae5e6d68dbc65a8f5c34942af49e uboot-script.cmd
8273be5a8c5a7b9a27ae91a1581ca2d247d0fb45e24e25e46ba8272955d7fce31c62562c3fae402f6a66918c9c61d838de692cca11eea3cdfde6a91f478f2955 install-rootfs-hdd.sh
669a0561251f287f072c9c1fc37d89b49a47fc4a4e5134c9e6681750ae960e5827043166136b7d5b9ad52c931b060bdcb6d0b5335c2e9fdb4eefd82f131ded93 install-rootfs-hdd.sh
"

View file

@ -48,7 +48,7 @@ echo "Rootfs successfully copied!"
# pmOS initfs looks for rootfs by label, rename partitions
echo "Renaming partitions"
e2label $MMC_ROOT_PARTITION pmOS_root_old
e2label $MMC_ROOT_PARTITION old_rootfs
e2label $HDD_ROOT_PARTITION pmOS_root
echo "Rootfs moved to external HDD, you must reboot NOW!"