Wind River Support Network

HomeDefectsLIN7-1482
Fixed

LIN7-1482 : [HP]"smart channel --remove-all" does not work

Created: Nov 5, 2014    Updated: Mar 31, 2016
Resolved Date: Nov 5, 2014
Found In Version: 7.0
Fix Version: 7.0
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

 "smart channel --remove-all" does not work

Try to remove all channel, but "smart channel --remove-all" does not work


root@localhost:~# smart channel --list
wr-test-x86_64
rpmsys
wr-test-lib32_intel_x86_64
wr-test-all
wr-test-intel_x86_64
wr-test-lib32_x86

root@localhost:~# smart channel --remove wr-test-all
Remove channel 'wr-test-all'? (y/N):

root@localhost:~# smart channel --remove-all       
error: No action specified for command 'channel'                                                                       


root@localhost:~# smart channel --help
 
Options:
  -h, --help        Show this help message and exit
  --add             Argument is an alias and one or more key=value pairs
                    defining a channel, or a filename/url pointing to a channel
                    description in the same format used by --show, or a
                    directory path where autodetection will be tried
  --set             Argument is an alias, and one or more key=value pairs
                    modifying a channel
  --remove          Arguments are channel aliases to be removed
  --remove-all      Remove all existent channels
  --list            List all known channel aliases
  --show            Show channels with given aliases, or all channels if no
                    arguments were given
  --yaml            Show given channels in yaml format
  --edit            Edit channels in editor set by $editor
  --enable          Enable channels with given aliases
  --disable         Disable channels with given aliases
  -y, --yes         Execute without asking
  --help-type=TYPE  Show further information about given type

Steps to Reproduce

 1. project1:/product/wrlinux-x/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl+installer-support --enable-bootimage=ext3 --with-sstate-dir=/build/SSTATE_CACHE --enable-parallel-pkgbuilds=8 --enable-jobs=16 --with-rcpl-version=0
2. make all
3. project2: /product/wrlinux-x/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=wr-installer --enable-target-installer=yes --with-installer-target-build=/wr-installer/0623/combo1/export/*ext3 --with-sstate-dir=/build/SSTATE_CACHE --enable-parallel-pkgbuilds=8 --enable-jobs=16 --enable-bootimage=iso --with-rcpl-version=0
4. make all
5. Installing ISO through VirtualBox
6. Boot system without selinux enable.(selinux=0 enforcing=0 as kernel arguments)
7. Add smart CGP rpm repository
8. smart channel --list
9. smart channel --remove-all
Live chat
Online