Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting input-charset to 'UTF-8' from locale.
- + CLEARSCREEN=echo
- + SECONDS=0
- + output pushd /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh
- + pushd /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh
- /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh /home/yochanan/ISO/X205TA
- + check_root
- + '[' 0 -ne 0 ']'
- + echo
- + disclaimer
- + echo
- + printf 'This script is - and probably always will be - a work in progress, because it is shooting at ever moving targets.\nEven if this script successfully creates an iso, the resulting iso may not boot or installations may end in failure.\nYou may of course report these issues to me, but I might not be able to resolve them.\n\nI have tested this script quite thoroughly but as this script can format a usb stick, it can also potentially harm every disk in your computer.\nI cannot not be held responsible for any damages the script causes.\n\nPress [CTRL]+c to abort this script,\n\nor press [ENTER] to accept the aforementioned risk and continue...'
- This script is - and probably always will be - a work in progress, because it is shooting at ever moving targets.
- Even if this script successfully creates an iso, the resulting iso may not boot or installations may end in failure.
- You may of course report these issues to me, but I might not be able to resolve them.
- I have tested this script quite thoroughly but as this script can format a usb stick, it can also potentially harm every disk in your computer.
- I cannot not be held responsible for any damages the script causes.
- Press [CTRL]+c to abort this script,
- or press [ENTER] to accept the aforementioned risk and continue...+ read -p ''
- + check_distro
- + shopt -s nocasematch
- + [[ MJRO180 == *\f\e\d\o\r\a* ]]
- + [[ MJRO180 == *\k\o\r\o\r\a* ]]
- + [[ MJRO180 == *\c\e\n\t\o\s* ]]
- + [[ MJRO180 == *\u\b\u\n\t\u* ]]
- + [[ MJRO180 == *\m\i\n\t* ]]
- + [[ MJRO180 == *\e\l\e\m\e\n\t\a\r\y* ]]
- + [[ MJRO180 == *\d\e\b\i\a\n* ]]
- + [[ MJRO180 == *\l\i\v\e\ \9\.\0* ]]
- + [[ MJRO180 == *\d\-\l\i\v\e* ]]
- + [[ MJRO180 == *\k\a\l\i* ]]
- + [[ MJRO180 == *\l\m\d\e* ]]
- + [[ MJRO180 == *\t\r\i\s\q\u\e\l* ]]
- + [[ MJRO180 == *\m\j\r* ]]
- + DISTRO=manjaro
- + shopt -u nocasematch
- + check_free_space
- ++ df /home/yochanan/ISO/X205TA
- ++ tail -n1
- ++ awk '{print $4}'
- + '[' 403582372 -gt 6500000 ']'
- + printf '\033[0;32m[ OK ]\033[0m Enough free space\n'
- [ OK ] Enough free space
- + echo
- + check_partition_type
- ++ df -T /home/yochanan/ISO/X205TA
- ++ tail -n1
- ++ awk '{print $2}'
- + '[' ext4 = vfat ']'
- ++ df -T /home/yochanan/ISO/X205TA
- ++ tail -n1
- ++ awk '{print $2}'
- + '[' ext4 = ntfs ']'
- + printf '\033[0;32m[ OK ]\033[0m Partition type correct\n'
- [ OK ] Partition type correct
- + echo
- + iso_or_usb
- + echo
- + PS3='Do you want to create an iso or write directly to a usb (this will destroy all data on the usb) ?'
- + options=("Create an iso" "Write directly to usb" "Quit")
- + select opt in "${options[@]}"
- 1) Create an iso
- 2) Write directly to usb
- 3) Quit
- Do you want to create an iso or write directly to a usb (this will destroy all data on the usb) ?2
- + case $opt in
- + CREATE_=usb
- + insert_usb
- + USB_GUESS_TRY=0
- + echo
- + echo
- + true
- + read -p '(Re)insert your target usb stick and press [ENTER]'
- (Re)insert your target usb stick and press [ENTER]
- + usb_guess
- + echo
- + printf 'Scanning for devices in dmesg for 0/10 seconds...'
- Scanning for devices in dmesg for 0/10 seconds...++ dmesg -t
- ++ grep -v 'UFW\|SFW\|ISO\|fsck\|audit'
- ++ cut -d '[' -f2
- ++ tail -n1
- ++ cut -d ']' -f1
- ++ tr -d ':\| '
- + USB_GUESS_1=sdb
- + sleep 1
- ++ dmesg -t
- ++ grep -v 'UFW\|SFW\|ISO\|fsck\|audit'
- ++ tail -n1
- ++ cut -d '[' -f2
- ++ cut -d ']' -f1
- ++ tr -d ':\| '
- + USB_GUESS_2=sdb
- + [[ sdb == \s\d\b ]]
- + [[ sdb =~ sd ]]
- + [[ 3 -eq 3 ]]
- + echo
- ++ sed -e 's/ *$//g'
- + VENDOR=PNY
- ++ sed -e 's/ *$//g'
- + MODEL='USB 2.0 FD'
- + echo
- + printf 'Is your target usb-device /dev/sdb - PNY USB 2.0 FD ?\n\n'
- Is your target usb-device /dev/sdb - PNY USB 2.0 FD ?
- + PS3='Choose one of the above and hit [ENTER]: '
- + options=("[ YES ] Format it and create my usb stick" "[ NO ] Try usb stick detection again " "[ NO ] Abort")
- + select opt in "${options[@]}"
- 1) [ YES ] Format it and create my usb stick
- 2) [ NO ] Try usb stick detection again
- 3) [ NO ] Abort
- Choose one of the above and hit [ENTER]: 1
- + case $opt in
- + echo
- + printf 'This will destroy all data on usb stick /dev/sdb - PNY USB 2.0 FD\n'
- This will destroy all data on usb stick /dev/sdb - PNY USB 2.0 FD
- + printf '\033[0;31mARE YOU SURE ?!\033[0m\n\n'
- ARE YOU SURE ?!
- + PS3=
- + options=("yes, continue" "no, abort")
- + select opt in "${options[@]}"
- 1) yes, continue
- 2) no, abort
- 1
- + case $opt in
- + STICK=sdb
- + break
- + break
- + format_usb
- + echo
- + printf 'Formatting usb stick...\n'
- Formatting usb stick...
- ++ mount
- ++ grep -c sdb
- ++ /bin/true
- + MOUNTNUMBER=0
- + command -v udevadm
- ++ command -v udevadm
- + CMD='/usr/bin/udevadm info -q all -n'
- + '[' 0 -gt 0 ']'
- + echo
- + unset MOUNTNUMBER
- + unset CMD
- + output dd if=/dev/zero of=/dev/sdb bs=512 count=1
- + dd if=/dev/zero of=/dev/sdb bs=512 count=1
- 1+0 records in
- 1+0 records out
- 512 bytes copied, 0.00202287 s, 253 kB/s
- + output wipefs --all --force /dev/sdb
- + wipefs --all --force /dev/sdb
- /dev/sdb: 5 bytes were erased at offset 0x00008001 (iso9660): 43 44 30 30 31
- + output parted -s /dev/sdb mklabel msdos
- + parted -s /dev/sdb mklabel msdos
- + output parted -s /dev/sdb mkpart primary 1M 100%
- + parted -s /dev/sdb mkpart primary 1M 100%
- + sleep 5
- + output mkfs.vfat -n X205TA /dev/sdb1
- + USB_MOUNT=usb-mount
- + output mkdir /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + mkdir /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + output mount /dev/sdb1 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + mount /dev/sdb1 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + echo
- + printf ' \033[0;32m[ OK ]\033[0m Done formatting...\n'
- [ OK ] Done formatting...
- + break
- + display_next_step
- + '[' -z 2 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 2 -eq 1 ']'
- + '[' 2 -eq 2 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ -- ] Downloading prerequisite files\n[ -- ] Extracting iso\n[ -- ] Unsquashing rootfs\n[ -- ] Chroot and kernel update \n[ -- ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ -- ] Downloading prerequisite files
- [ -- ] Extracting iso
- [ -- ] Unsquashing rootfs
- [ -- ] Chroot and kernel update
- [ -- ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=3
- + download_prerequisite_files
- + IS_URL='(https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|]'
- + [[ http://x205ta.myftp.org:1337/kernel/ =~ (https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|] ]]
- + output wget http://x205ta.myftp.org:1337/kernel/kernel-sound-64bit.tar -O /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/kernel.tar
- + wget http://x205ta.myftp.org:1337/kernel/kernel-sound-64bit.tar -O /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/kernel.tar
- --2018-12-02 09:26:35-- http://x205ta.myftp.org:1337/kernel/kernel-sound-64bit.tar
- Resolving x205ta.myftp.org (x205ta.myftp.org)... 86.91.226.28
- Connecting to x205ta.myftp.org (x205ta.myftp.org)|86.91.226.28|:1337... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 18042880 (17M) [application/x-tar]
- Saving to: ‘/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/kernel.tar’
- /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.s 100%[===========================================================================================>] 17.21M 447KB/s in 78s
- 2018-12-02 09:27:56 (225 KB/s) - ‘/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/kernel.tar’ saved [18042880/18042880]
- + output wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/efi_bootia32.efi
- + wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/efi_bootia32.efi
- --2018-12-02 09:27:56-- https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/efi_bootia32.efi
- Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
- Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.68.133
- Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.68.133|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 625664 (611K) [application/octet-stream]
- Saving to: ‘efi_bootia32.efi’
- efi_bootia32.efi 100%[===========================================================================================>] 611.00K 97.4KB/s in 6.3s
- 2018-12-02 09:28:06 (97.4 KB/s) - ‘efi_bootia32.efi’ saved [625664/625664]
- + output wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/isohdpfx.bin
- + wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/isohdpfx.bin
- --2018-12-02 09:28:06-- https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/isohdpfx.bin
- Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
- Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.68.133
- Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.68.133|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 512 [application/octet-stream]
- Saving to: ‘isohdpfx.bin’
- isohdpfx.bin 100%[===========================================================================================>] 512 --.-KB/s in 0s
- 2018-12-02 09:28:10 (15.5 MB/s) - ‘isohdpfx.bin’ saved [512/512]
- + output wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/HiFi.conf
- + wget https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/HiFi.conf
- --2018-12-02 09:28:10-- https://raw.githubusercontent.com/harryharryharry/x205ta-iso2usb-files/master/HiFi.conf
- Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
- Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.68.133
- Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.68.133|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 11075 (11K) [text/plain]
- Saving to: ‘HiFi.conf’
- HiFi.conf 100%[===========================================================================================>] 10.82K --.-KB/s in 0s
- 2018-12-02 09:28:15 (23.0 MB/s) - ‘HiFi.conf’ saved [11075/11075]
- + display_next_step
- + '[' -z 3 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 3 -eq 1 ']'
- + '[' 3 -eq 2 ']'
- + '[' 3 -eq 3 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ -- ] Extracting iso\n[ -- ] Unsquashing rootfs\n[ -- ] Chroot and kernel update \n[ -- ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ -- ] Extracting iso
- [ -- ] Unsquashing rootfs
- [ -- ] Chroot and kernel update
- [ -- ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=4
- + extract_iso
- + '[' -f /home/yochanan/ISO/X205TA/manjaro-xfce-18.0-stable-x86_64.iso ']'
- + output 7z x /home/yochanan/ISO/X205TA/manjaro-xfce-18.0-stable-x86_64.iso -o/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso
- + 7z x /home/yochanan/ISO/X205TA/manjaro-xfce-18.0-stable-x86_64.iso -o/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso
- 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
- p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs AMD A10-5750M APU with Radeon(tm) HD Graphics (610F31),ASM,AES-NI)
- Scanning the drive for archives:
- 1 file, 1998415872 bytes (1906 MiB)
- Extracting archive: /home/yochanan/ISO/X205TA/manjaro-xfce-18.0-stable-x86_64.iso
- --
- Path = /home/yochanan/ISO/X205TA/manjaro-xfce-18.0-stable-x86_64.iso
- Type = Iso
- Physical Size = 1998415872
- Comment =
- Volume: MJRO180
- Publisher: MANJARO LINUX <HTTPS://WWW.MANJARO.ORG/>
- Preparer: PREPARED BY MANJARO-TOOLS/BUILDISO
- Application: MANJARO LINUX LIVE/RESCUE CD
- Created = 2018-10-29 13:28:48
- Modified = 2018-10-29 13:28:48
- Everything is Ok
- Folders: 13
- Files: 771
- Size: 1997186877
- Compressed: 1998415872
- + display_next_step
- + '[' -z 4 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 4 -eq 1 ']'
- + '[' 4 -eq 2 ']'
- + '[' 4 -eq 3 ']'
- + '[' 4 -eq 4 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ \033[0;32mOK\033[0m ] Extracting iso\n[ -- ] Unsquashing rootfs\n[ -- ] Chroot and kernel update \n[ -- ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ OK ] Extracting iso
- [ -- ] Unsquashing rootfs
- [ -- ] Chroot and kernel update
- [ -- ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=5
- + unsquash_fs
- + EXTRACTED_ISO=extracted-iso
- + CHROOT_MOUNT=squashfs-root
- + '[' manjaro == manjaro ']'
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso -name 'root*' -type f -size +100M
- + SQUASHFS_FILE=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/rootfs.sfs
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso -name 'desktop*' -type f -size +100M
- + SQUASHFS_FILE_DESKTOP=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/desktopfs.sfs
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso -name 'live*' -type f -size +25M
- + SQUASHFS_FILE_LIVE=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/livefs.sfs
- + output unsquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/desktopfs.sfs
- + unsquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/desktopfs.sfs
- Parallel unsquashfs: Using 4 processors
- 221387 inodes (229709 blocks) to write
- [=========================================================================================================================================================\] 229709/229709 100%
- created 164171 files
- created 7521 directories
- created 56474 symlinks
- created 1 devices
- created 0 fifos
- + output cp -a /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/HiFi.conf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/usr/share/alsa/ucm/chtrt5645/HiFi.conf
- + cp -a /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/HiFi.conf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/usr/share/alsa/ucm/chtrt5645/HiFi.conf
- + output mksquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/desktopfs.sfs -noappend
- + mksquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/desktopfs.sfs -noappend
- Parallel mksquashfs: Using 4 processors
- Creating 4.0 filesystem on /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/desktopfs.sfs, block size 131072.
- [=========================================================================================================================================================|] 184817/184817 100%
- Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
- compressed data, compressed metadata, compressed fragments, compressed xattrs
- duplicates are removed
- Filesystem size 1312264.03 Kbytes (1281.51 Mbytes)
- 32.38% of uncompressed filesystem size (4053192.97 Kbytes)
- Inode table size 2250361 bytes (2197.62 Kbytes)
- 27.79% of uncompressed inode table size (8096368 bytes)
- Directory table size 2458266 bytes (2400.65 Kbytes)
- 38.02% of uncompressed directory table size (6466374 bytes)
- Xattr table size 4150 bytes (4.05 Kbytes)
- 15.90% of uncompressed xattr table size (26100 bytes)
- Number of duplicate files found 18581
- Number of inodes 228167
- Number of files 164171
- Number of fragments 10537
- Number of symbolic links 56474
- Number of device nodes 1
- Number of fifo nodes 0
- Number of socket nodes 0
- Number of directories 7521
- Number of ids (unique uids + gids) 8
- Number of uids 4
- root (0)
- lightdm (620)
- git (977)
- ntp (87)
- Number of gids 7
- root (0)
- cups (209)
- network (90)
- polkitd (102)
- unknown (21)
- lightdm (620)
- git (977)
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root
- + output unsquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/livefs.sfs
- + unsquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/livefs.sfs
- Parallel unsquashfs: Using 4 processors
- 11454 inodes (12141 blocks) to write
- [===========================================================================================================================================================-] 12141/12141 100%
- created 11132 files
- created 1455 directories
- created 322 symlinks
- created 0 devices
- created 0 fifos
- + output sed -i -e 's/blacklist brcmfmac/#blacklist brcmfmac/g' /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/etc/modprobe.d/linux49-broadcom-wl.conf
- + sed -i -e 's/blacklist brcmfmac/#blacklist brcmfmac/g' /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/etc/modprobe.d/linux49-broadcom-wl.conf
- sed: can't read /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/etc/modprobe.d/linux49-broadcom-wl.conf: No such file or directory
- + /bin/true
- + output mksquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/livefs.sfs -noappend
- + mksquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/livefs.sfs -noappend
- Parallel mksquashfs: Using 4 processors
- Creating 4.0 filesystem on /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/livefs.sfs, block size 131072.
- [===========================================================================================================================================================/] 12694/12694 100%
- Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
- compressed data, compressed metadata, compressed fragments, compressed xattrs
- duplicates are removed
- Filesystem size 96106.68 Kbytes (93.85 Mbytes)
- 33.98% of uncompressed filesystem size (282860.88 Kbytes)
- Inode table size 126996 bytes (124.02 Kbytes)
- 29.48% of uncompressed inode table size (430758 bytes)
- Directory table size 120974 bytes (118.14 Kbytes)
- 37.20% of uncompressed directory table size (325185 bytes)
- Xattr table size 3602 bytes (3.52 Kbytes)
- 15.72% of uncompressed xattr table size (22908 bytes)
- Number of duplicate files found 1006
- Number of inodes 12909
- Number of files 11132
- Number of fragments 579
- Number of symbolic links 322
- Number of device nodes 0
- Number of fifo nodes 0
- Number of socket nodes 0
- Number of directories 1455
- Number of ids (unique uids + gids) 3
- Number of uids 2
- root (0)
- unknown (110)
- Number of gids 3
- root (0)
- unknown (110)
- polkitd (102)
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root
- + output unsquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/rootfs.sfs
- + unsquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/rootfs.sfs
- Parallel unsquashfs: Using 4 processors
- 55781 inodes (57381 blocks) to write
- [===========================================================================================================================================================\] 57381/57381 100%
- created 47567 files
- created 3633 directories
- created 6329 symlinks
- created 0 devices
- created 0 fifos
- + '[' manjaro == fedora ']'
- + '[' manjaro == korora ']'
- + '[' manjaro == centos ']'
- + '[' manjaro == qubes ']'
- + display_next_step
- + '[' -z 5 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 5 -eq 1 ']'
- + '[' 5 -eq 2 ']'
- + '[' 5 -eq 3 ']'
- + '[' 5 -eq 4 ']'
- + '[' 5 -eq 5 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ \033[0;32mOK\033[0m ] Extracting iso\n[ \033[0;32mOK\033[0m ] Unsquashing rootfs\n[ -- ] Chroot and kernel update \n[ -- ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ OK ] Extracting iso
- [ OK ] Unsquashing rootfs
- [ -- ] Chroot and kernel update
- [ -- ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=6
- + pre_chroot_fs
- + output pushd /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root
- + pushd /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root
- /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh /home/yochanan/ISO/X205TA
- + output tar xf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/kernel.tar --wildcards --no-anchored '*.xz' install-sound-kernel.sh
- + tar xf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/kernel.tar --wildcards --no-anchored '*.xz' install-sound-kernel.sh
- + output tar xf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/kernel-4.19.2-sound-39.tar.xz
- + tar xf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/kernel-4.19.2-sound-39.tar.xz
- ++ sed 's:.*/::'
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/lib/modules/4.19.0-3-MANJARO /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/lib/modules/4.19.2-sound-39 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/lib/modules/extramodules-4.19-MANJARO -maxdepth 0 -type d -name '*sound*'
- + export KERNELRELEASE=4.19.2-sound-39
- + KERNELRELEASE=4.19.2-sound-39
- + create_install_grub_executable
- + cat
- + chmod +x /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/root/install-grub.sh
- + output popd
- + popd
- /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh /home/yochanan/ISO/X205TA
- + chroot_fs
- + output mount --bind /dev /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev
- + mount --bind /dev /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev
- + output mount --bind /dev/pts /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev/pts
- + mount --bind /dev/pts /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev/pts
- + output mount --bind /proc /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/proc
- + mount --bind /proc /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/proc
- + output mount --bind /sys /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/sys
- + mount --bind /sys /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/sys
- + output mount --bind /run /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + mount --bind /run /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + '[' manjaro == manjaro ']'
- + output chroot /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /bin/bash -x
- + chroot /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /bin/bash -x
- + export HOME=/root
- + HOME=/root
- + export LC_ALL=C
- + LC_ALL=C
- + sed -i -e 's/MODULES.*/MODULES="sd_mod"/g' /etc/mkinitcpio.conf
- + sed -i -e '/#NoUpgrade/s/.*/NoUpgrade = usr\/share\/alsa\/ucm\/chtrt5645\/HiFi.conf/' /etc/pacman.conf
- + echo 'nameserver 8.8.8.8'
- + sed -i -e s/CheckSpace/#CheckSpace/g /etc/pacman.conf
- + pacman-key --init
- + pacman-key --populate
- ==> Appending keys from archlinux.gpg...
- ==> Appending keys from manjaro.gpg...
- ==> Locally signing trusted keys in keyring...
- -> Locally signing key DDB867B92AA789C165EEFA799B729B06A680C281...
- -> Locally signing key 75C1B95A4D9514A57EB2DAE71817DC63CD3B5DF5...
- -> Locally signing key 16DC688DF3EECC72323954237EC47C82A42D53A2...
- -> Locally signing key 76C6E477042BFE985CC220BD9C08A255442FAFF0...
- -> Locally signing key 2D14560CDCE6A75BB186DB758238651DDF5E0594...
- -> Locally signing key B4663188A692DB1E45A98EE95BD96CC4247B52CC...
- -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
- -> Locally signing key 04BB537F5BC2D399BFA72F8F17C752B61B2F2E90...
- -> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
- -> Locally signing key 35B4FF23EA9477582C2A0AF12B80869C5C0102A6...
- -> Locally signing key 77DC01C9971AC3C39A0626F72C089F09AC97B894...
- -> Locally signing key 39F0EC1AE50B37E5F3196F09DAD3B211663CA268...
- -> Locally signing key E4CDFE50A2DA85D58C8A8C70CAA6A59611C7F07E...
- -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
- -> Locally signing key 7C89F4D439B2BFACF425107B62443D89B35859F8...
- -> Locally signing key 22C903DE964E6FE321656E318DB9F8C18DF53602...
- -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
- -> Locally signing key 5A97ED6B72418199F0C22B23137C934B5DCB998E...
- -> Locally signing key 2C688B52E3FC0144B7484BABE3B3F44AC45EE0AA...
- -> Locally signing key 1E7908935AAB9A00D6B47503363DFFFD59152F77...
- -> Locally signing key 74C2F2CC05A0AB7D859839938934292D604F8BA2...
- ==> Importing owner trust values...
- ==> Disabling revoked keys in keyring...
- -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
- -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
- -> Disabling key 40440DC037C05620984379A6761FAD69BA06C6A9...
- -> Disabling key B1F2C889CB2CCB2ADA36D963097D629E437520BD...
- -> Disabling key 5357F3B111688D88C1D88119FCF2CB179205AC90...
- -> Disabling key 5559BC1A32B8F76B3FCCD9555FA5E5544F010D48...
- -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
- -> Disabling key FAA6840E8C3FC7F89BEE0DC8AC7AB10BCB6CDD17...
- -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
- -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
- -> Disabling key 4FCF887689C41B09506BE8D5F3E1D5C5D30DB0AD...
- -> Disabling key FB871F0131FEA4FB5A9192B4C8880A6406361833...
- -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
- -> Disabling key 5E7585ADFF106BFFBBA319DC654B877A0864983E...
- -> Disabling key 50F33E2E5B0C3D900424ABE89BDCF497A4BBCC7F...
- -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
- -> Disabling key 65EEFE022108E2B708CBFCF7F9E712E59AF5F22A...
- -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
- -> Disabling key 40776A5221EF5AD468A4906D42A1DB15EC133BAD...
- -> Disabling key 8CF934E339CAD8ABF342E822E711306E3C4F88BC...
- -> Disabling key 5696C003B0854206450C8E5BE613C09CB4440678...
- -> Disabling key 5A2257D19FF7E1E0E415968CE62F853100F0D0F0...
- -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
- -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
- -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
- -> Disabling key 34C5D94FE7E7913E86DC427E7FB1A3800C84C0A5...
- -> Disabling key 39F880E50E49A4D11341E8F939E4F17F295AFBF4...
- -> Disabling key 540DE7083B89314CF70EA6F0C1B1AD0DA80EBF3E...
- -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
- -> Disabling key 07DFD3A0BC213FA12EDC217559B3122E2FA915EC...
- -> Disabling key 44D4A033AC140143927397D47EFD567D4C7EA887...
- -> Disabling key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
- -> Disabling key 8840BD07FC24CB7CE394A07CCF7037A4F27FB7DA...
- ==> Updating trust database...
- gpg: next trustdb check due at 2018-12-13
- + pacman -Sy --noconfirm --force
- error: invalid option '--force'
- + echo 'NoUpdate = True'
- + '[' manjaro == manjaro ']'
- + pacman -Rsc manjaro-hello --noconfirm --force
- error: invalid option '--force'
- + pacman -S manjaro-tools-iso gnome-terminal --noconfirm --force
- error: invalid option '--force'
- + sed -i -e 's/HOOKS.*/HOOKS="base udev block miso_shutdown miso miso_loop_mnt miso_kms filesystems keyboard"/g' /etc/mkinitcpio.conf
- + sed -i -e 's/blacklist brcmfmac/#blacklist brcmfmac/g' /etc/modprobe.d/linux49-broadcom-wl.conf
- sed: can't read /etc/modprobe.d/linux49-broadcom-wl.conf: No such file or directory
- + sed -i -e '$ d' /etc/resolv.conf
- + sudo mkinitcpio -k 4.19.2-sound-39 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19.2-sound-39.img
- ==> Starting build: 4.19.2-sound-39
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [block]
- ==> ERROR: Hook 'miso_shutdown' cannot be found
- ==> ERROR: Hook 'miso' cannot be found
- ==> ERROR: Hook 'miso_loop_mnt' cannot be found
- ==> ERROR: Hook 'miso_kms' cannot be found
- -> Running build hook: [filesystems]
- -> Running build hook: [keyboard]
- ==> Generating module dependencies
- ==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19.2-sound-39.img
- ==> WARNING: errors were encountered during the build. The image may not be complete.
- + pacman -Scc --noconfirm
- warning: database file for 'core' does not exist (use '-Sy' to download)
- warning: database file for 'extra' does not exist (use '-Sy' to download)
- warning: database file for 'community' does not exist (use '-Sy' to download)
- warning: database file for 'multilib' does not exist (use '-Sy' to download)
- Cache directory: /var/cache/pacman/pkg/
- :: Do you want to remove ALL files from cache? [y/N]
- Database directory: /var/lib/pacman/
- :: Do you want to remove unused repositories? [Y/n]
- removing unused sync repositories...
- + sed -i -e s/#CheckSpace/CheckSpace/g /etc/pacman.conf
- + '[' manjaro == ubuntu ']'
- + '[' manjaro == mint ']'
- + '[' manjaro == debian ']'
- + '[' manjaro == lmde ']'
- + '[' manjaro == tails ']'
- + '[' manjaro == elementary ']'
- + '[' manjaro == trisquel ']'
- + '[' manjaro == kali ']'
- + '[' manjaro == fedora ']'
- + '[' manjaro == korora ']'
- + '[' manjaro == centos ']'
- + '[' manjaro == qubes ']'
- + '[' manjaro == chakra ']'
- + '[' manjaro == debian ']'
- + '[' manjaro == kali ']'
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/ -name '*vmlinu*' -not -path '*pxe*' -not -path '*install*' -not -path '*vmlinuz2*'
- + VMLINUZ_OLD=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot -name '*vmlinu*sound*'
- + VMLINUZ_NEW=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/vmlinuz-4.19.2-sound-39
- + '[' manjaro == antergos ']'
- + '[' manjaro == chakra ']'
- + '[' manjaro == debian ']'
- + '[' manjaro == kali ']'
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/ -name '*initr*' -not -path '*pxe*' -not -path '*install*' -not -path '*pool*' -not -path '*initrd2*'
- + INITRD_OLD=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img
- ++ find /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot -name '*initr*sound*'
- + INITRD_NEW=/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/initramfs-4.19.2-sound-39.img
- + output cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64.old
- + cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64.old
- '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64' -> '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64.old'
- + output cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img.old
- + cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img.old
- '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img' -> '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img.old'
- + output cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/vmlinuz-4.19.2-sound-39 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64
- + cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/vmlinuz-4.19.2-sound-39 /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64
- '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/vmlinuz-4.19.2-sound-39' -> '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/vmlinuz-x86_64'
- + output cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/initramfs-4.19.2-sound-39.img /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img
- + cp -av /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/initramfs-4.19.2-sound-39.img /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img
- '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/initramfs-4.19.2-sound-39.img' -> '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/initramfs-x86_64.img'
- + umount -l /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev/pts /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + output rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/root/.bash_history
- + rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/root/.bash_history
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run/blkid
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run/blkid
- + output rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run/lock/dmraid
- + rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run/lock/dmraid
- + output rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run/lvm/.cache
- + rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run/lvm/.cache
- + output rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/grub/grub.cfg
- + rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/boot/grub/grub.cfg
- + output rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/etc/mtab
- + rm -f /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/etc/mtab
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + output mkdir /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev
- + mkdir /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/dev
- + output mkdir /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + mkdir /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/run
- + umount -l /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/proc /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root/sys
- + display_next_step
- + '[' -z 6 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 6 -eq 1 ']'
- + '[' 6 -eq 2 ']'
- + '[' 6 -eq 3 ']'
- + '[' 6 -eq 4 ']'
- + '[' 6 -eq 5 ']'
- + '[' 6 -eq 6 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ \033[0;32mOK\033[0m ] Extracting iso\n[ \033[0;32mOK\033[0m ] Unsquashing rootfs\n[ \033[0;32mOK\033[0m ] Chroot and kernel update \n[ -- ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ OK ] Extracting iso
- [ OK ] Unsquashing rootfs
- [ OK ] Chroot and kernel update
- [ -- ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=7
- + squash_fs
- + '[' manjaro == fedora ']'
- + '[' manjaro == korora ']'
- + '[' manjaro == centos ']'
- + '[' manjaro == qubes ']'
- + output mksquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/rootfs.sfs -noappend
- + mksquashfs /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/squashfs-root /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/rootfs.sfs -noappend
- Parallel mksquashfs: Using 4 processors
- Creating 4.0 filesystem on /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro/x86_64/rootfs.sfs, block size 131072.
- [===========================================================================================================================================================\] 57264/57264 100%
- Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
- compressed data, compressed metadata, compressed fragments, compressed xattrs
- duplicates are removed
- Filesystem size 610667.21 Kbytes (596.35 Mbytes)
- 39.30% of uncompressed filesystem size (1553882.91 Kbytes)
- Inode table size 549412 bytes (536.54 Kbytes)
- 26.64% of uncompressed inode table size (2062395 bytes)
- Directory table size 597037 bytes (583.04 Kbytes)
- 38.90% of uncompressed directory table size (1534777 bytes)
- Xattr table size 186 bytes (0.18 Kbytes)
- 25.83% of uncompressed xattr table size (720 bytes)
- Number of duplicate files found 6567
- Number of inodes 59142
- Number of files 48978
- Number of fragments 3533
- Number of symbolic links 6330
- Number of device nodes 0
- Number of fifo nodes 0
- Number of socket nodes 4
- Number of directories 3830
- Number of ids (unique uids + gids) 9
- Number of uids 2
- root (0)
- nobody (65534)
- Number of gids 8
- root (0)
- ftp (11)
- tty (5)
- dbus (81)
- polkitd (102)
- games (50)
- systemd-journal-remote (982)
- systemd-journal (984)
- + display_next_step
- + '[' -z 7 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 7 -eq 1 ']'
- + '[' 7 -eq 2 ']'
- + '[' 7 -eq 3 ']'
- + '[' 7 -eq 4 ']'
- + '[' 7 -eq 5 ']'
- + '[' 7 -eq 6 ']'
- + '[' 7 -eq 7 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ \033[0;32mOK\033[0m ] Extracting iso\n[ \033[0;32mOK\033[0m ] Unsquashing rootfs\n[ \033[0;32mOK\033[0m ] Chroot and kernel update \n[ \033[0;32mOK\033[0m ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ OK ] Extracting iso
- [ OK ] Unsquashing rootfs
- [ OK ] Chroot and kernel update
- [ OK ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=8
- + make_iso_or_usb
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI
- + output rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/efi
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/efi
- + output mkdir -p /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI/BOOT
- + mkdir -p /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI/BOOT
- + output cp -a /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/efi_bootia32.efi /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI/BOOT/bootia32.efi
- + cp -a /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/efi_bootia32.efi /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI/BOOT/bootia32.efi
- + output pushd /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso
- + pushd /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso
- /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh /home/yochanan/ISO/X205TA
- + OUTFILE=x205ta-harryskernel-4.19.2-sound-39-manjaro-xfce-18.0-stable-x86_64.iso
- + '[' manjaro == debian ']'
- + '[' manjaro == kali ']'
- + '[' manjaro == tails ']'
- + '[' manjaro == ubuntu ']'
- + '[' manjaro == elementary ']'
- + '[' manjaro == trisquel ']'
- + '[' manjaro == mint ']'
- + '[' manjaro == lmde ']'
- + '[' manjaro == fedora ']'
- + '[' manjaro == qubes ']'
- + '[' manjaro == korora ']'
- + '[' manjaro == centos ']'
- + '[' manjaro == manjaro ']'
- + output mkdir -p /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/grub
- + mkdir -p /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot/grub
- + cat
- + '[' usb == iso ']'
- + output cp -dR /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/[BOOT]' /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot.catalog /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/efi.img /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + cp -dR /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot '/tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/[BOOT]' /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/boot.catalog /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/EFI /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/efi.img /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/extracted-iso/manjaro /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + '[' manjaro == antergos ']'
- + '[' manjaro == chakra ']'
- + ask_to_create_persistence
- + '[' usb == usb ']'
- + '[' manjaro == ubuntu ']'
- + '[' manjaro == mint ']'
- + '[' manjaro == elementary ']'
- + '[' manjaro == tails ']'
- + STEP_NR=7
- + display_next_step
- + '[' -z 7 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 7 -eq 1 ']'
- + '[' 7 -eq 2 ']'
- + '[' 7 -eq 3 ']'
- + '[' 7 -eq 4 ']'
- + '[' 7 -eq 5 ']'
- + '[' 7 -eq 6 ']'
- + '[' 7 -eq 7 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ \033[0;32mOK\033[0m ] Extracting iso\n[ \033[0;32mOK\033[0m ] Unsquashing rootfs\n[ \033[0;32mOK\033[0m ] Chroot and kernel update \n[ \033[0;32mOK\033[0m ] Resquashing rootfs\n[ -- ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ OK ] Extracting iso
- [ OK ] Unsquashing rootfs
- [ OK ] Chroot and kernel update
- [ OK ] Resquashing rootfs
- [ -- ] Creating usb
- + STEP_NR=8
- + function_sync
- + printf '\nPlease wait while writing remaining data buffered in memory to usb:\n'
- Please wait while writing remaining data buffered in memory to usb:
- + echo
- + echo
- + set +em
- + trap - ERR
- + pid=2573
- + true
- + ps --pid 2573
- + sync
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 5124 kB
- Writeback: 16508 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 1084 kB
- Writeback: 16616 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 1632 kB
- Writeback: 16528 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 1632 kB
- Writeback: 16528 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 2032 kB
- Writeback: 16528 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 2032 kB
- Writeback: 16528 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 2032 kB
- Writeback: 16528 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 1664 kB
- Writeback: 15240 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 1664 kB
- Writeback: 11056 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 5004 kB
- Writeback: 9048 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 5848 kB
- Writeback: 9048 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 5896 kB
- Writeback: 9048 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 8572 kB
- Writeback: 9048 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 8572 kB
- Writeback: 9048 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 8572 kB
- Writeback: 9048 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 8964 kB
- Writeback: 5128 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + grep --color=never -e Dirty: -e Writeback: /proc/meminfo
- Dirty: 8972 kB
- Writeback: 1192 kB
- + sleep 0.1
- + true
- + ps --pid 2573
- + '[' 1 -ne 1 ']'
- + break
- + set -em
- + trap forced_exit ERR
- + '[' usb == usb ']'
- + output umount /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + umount /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh/usb-mount
- + output popd
- + popd
- /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh /home/yochanan/ISO/X205TA
- + display_next_step
- + '[' -z 8 ']'
- + echo
- + '[' usb == iso ']'
- + '[' usb == usb ']'
- + printf 'The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.\nSteps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.\n\n'
- The script will perform the following steps to build your customized manjaro usb, do not remove the PNY USB 2.0 FD usb stick until script is finished.
- Steps 4 to 6 may take some time, for a more verbose output set VERBOSE=true at the beginning of the script.
- + '[' 8 -eq 1 ']'
- + '[' 8 -eq 2 ']'
- + '[' 8 -eq 3 ']'
- + '[' 8 -eq 4 ']'
- + '[' 8 -eq 5 ']'
- + '[' 8 -eq 6 ']'
- + '[' 8 -eq 7 ']'
- + '[' 8 -eq 8 ']'
- + printf '[ \033[0;32mOK\033[0m ] Checking for root privileges\n[ \033[0;32mOK\033[0m ] Downloading prerequisite files\n[ \033[0;32mOK\033[0m ] Extracting iso\n[ \033[0;32mOK\033[0m ] Unsquashing rootfs\n[ \033[0;32mOK\033[0m ] Chroot and kernel update \n[ \033[0;32mOK\033[0m ] Resquashing rootfs\n[ \033[0;32mOK\033[0m ] Creating usb\n'
- [ OK ] Checking for root privileges
- [ OK ] Downloading prerequisite files
- [ OK ] Extracting iso
- [ OK ] Unsquashing rootfs
- [ OK ] Chroot and kernel update
- [ OK ] Resquashing rootfs
- [ OK ] Creating usb
- + STEP_NR=9
- + output popd
- + popd
- /home/yochanan/ISO/X205TA
- + duration=1039
- + '[' usb == iso ']'
- + printf '\n[ \033[0;32mOK\033[0m ] Customized manjaro usb finished ! \n\n'
- [ OK ] Customized manjaro usb finished !
- + printf 'The script took 17 minutes and 19 seconds to create your manjaro usb\n\n'
- The script took 17 minutes and 19 seconds to create your manjaro usb
- + clean_exit
- + cd /home/yochanan/ISO/X205TA
- + rm -rf /tmp/tmp.VsUNymNm1a.x205ta-custom-liveusb.sh
- + exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement