perhaps ready?
This commit is contained in:
parent
c43a513dac
commit
3f5563f141
@ -8,5 +8,5 @@ Rules-Requires-Root: no
|
||||
|
||||
Package: pikainstall
|
||||
Architecture: linux-any
|
||||
Depends: ${misc:Depends}, squashfs-tools
|
||||
Depends: ${misc:Depends}, squashfs-tools, arch-install-scripts
|
||||
Description: Command line installer for PikaOS
|
||||
|
3
pikainstall/usr/bin/pikainstall
Executable file
3
pikainstall/usr/bin/pikainstall
Executable file
@ -0,0 +1,3 @@
|
||||
#! /bin/bash
|
||||
if [ "$(id -u)" -ne 0 ]; then echo "Please run as root." >&2; exit 1; fi
|
||||
/usr/lib/pika/pikainstall/pikainstall "$@"
|
@ -9,4 +9,5 @@
|
||||
mkdir -p "$1"/var/cache/apt/archives
|
||||
cp -rvf /cdrom/pool/main/* "$1"/var/cache/apt/archives/
|
||||
genfstab -U "$1" > "$1"/etc/fstab
|
||||
cat "$1"/etc/fstab | grep -v zram > "$1"/etc/fstab
|
||||
chroot /chroot_dir /bin/bash -c "su - -c /usr/lib/pika/pikainstall/pika-install-chroot.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user